Files
linux/drivers/scsi
Phillip Potter 2f4a784f40 scsi: ufs: handle cleanup correctly on devm_reset_control_get error
Move ufshcd_set_variant call in ufs_hisi_init_common to common error
section at end of the function, and then jump to this from the error
checking statements for both devm_reset_control_get and
ufs_hisi_get_resource. This fixes the original commit (63a06181d7)
which was reverted due to the University of Minnesota problems.

Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Avri Altman <avri.altman@wdc.com>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210503115736.2104747-32-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-13 17:33:41 +02:00
..
2021-01-22 21:14:09 -05:00
2021-03-24 22:58:33 -04:00
2021-03-24 22:54:24 -04:00
2020-03-11 23:07:59 -04:00
2021-04-13 00:16:42 -04:00
2021-04-15 22:44:40 -04:00
2021-01-22 21:14:07 -05:00
2021-01-22 21:14:08 -05:00
2021-01-22 21:14:07 -05:00
2021-04-06 09:28:17 -06:00
2021-01-22 21:14:08 -05:00
2020-03-11 23:07:59 -04:00
2021-03-24 23:07:14 -04:00
2020-09-02 22:49:06 -04:00
2020-08-23 17:36:59 -05:00
2021-04-13 00:20:48 -04:00
2021-04-06 09:28:17 -06:00
2020-12-07 20:24:09 -05:00
2021-01-22 21:14:07 -05:00
2021-04-15 22:44:40 -04:00
2021-04-15 22:44:41 -04:00
2021-01-26 22:11:17 -05:00
2020-12-07 20:24:09 -05:00
2020-12-07 20:24:09 -05:00
2020-08-23 17:36:59 -05:00
2021-03-24 23:03:43 -04:00
2020-02-24 15:01:57 -05:00
2021-04-06 09:28:17 -06:00
2021-04-06 09:28:17 -06:00
2021-01-22 21:14:10 -05:00
2021-04-13 00:20:48 -04:00
2021-01-22 21:14:12 -05:00