Andy Shevchenko 098e190039 ata: sata_dwc_460ex: No need to call phy_exit() befre phy_init()
[ Upstream commit 3ad4a31620355358316fa08fcfab37b9d6c33347 ]

Last change to device managed APIs cleaned up error path to simple phy_exit()
call, which in some cases has been executed with NULL parameter. This per se
is not a problem, but rather logical misconception: no need to free resource
when it's for sure has not been allocated yet. Fix the driver accordingly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210727125130.19977-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-22 11:43:06 +02:00
..
2021-07-20 16:21:09 +02:00
2016-09-06 12:38:17 -04:00
2021-05-22 10:40:25 +02:00
2021-05-22 10:40:25 +02:00
2014-03-11 08:30:53 -04:00
2021-05-22 10:40:25 +02:00
2015-04-16 13:53:32 -05:00