diff options
author | Sergey Shtylyov <s.shtylyov@omprussia.ru> | 2021-03-29 23:50:58 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-04-13 07:14:34 +0300 |
commit | 339c9b63cc7ce779ce45c675bf709cb58b807fc3 (patch) | |
tree | 5f7d72851c84bca74facd695e2335ecee9d768bc /drivers/scsi/3w-9xxx.h | |
parent | 54300bfd738b649004793ce138a29c30e900ec21 (diff) | |
download | linux-339c9b63cc7ce779ce45c675bf709cb58b807fc3.tar.xz |
scsi: ufs: ufshcd-pltfrm: Fix deferred probing
The driver overrides the error codes returned by platform_get_irq() to
-ENODEV, so if it returns -EPROBE_DEFER, the driver would fail the probe
permanently instead of the deferred probing. Propagate the error code
upstream as it should have been done from the start...
Link: https://lore.kernel.org/r/420364ca-614a-45e3-4e35-0e0653c7bc53@omprussia.ru
Fixes: 2953f850c3b8 ("[SCSI] ufs: use devres functions for ufshcd")
Signed-off-by: Sergey Shtylyov <s.shtylyov@omprussia.ru>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/3w-9xxx.h')
0 files changed, 0 insertions, 0 deletions