scsi: ufs-pci: Fix recovery from hibernate exit errors for Intel controllers
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 7 Dec 2020 08:31:19 +0000 (10:31 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 9 Dec 2020 16:34:20 +0000 (11:34 -0500)
commit044d5bda7117891d6d0d56f2f807b7b11e120abd
tree179eb2b7c548198e9d7ad4c6f0e7395c49b31196
parentaf423534d2de86cd0db729a5ac41f056ca8717de
scsi: ufs-pci: Fix recovery from hibernate exit errors for Intel controllers

Intel controllers can end up in an unrecoverable state after a hibernate
exit error unless a full reset and restore is done before anything else.
Force that to happen.

Link: https://lore.kernel.org/r/20201207083120.26732-4-adrian.hunter@intel.com
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd-pci.c