diff options
author | Asutosh Das <asutoshd@codeaurora.org> | 2020-04-14 08:14:48 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-04-17 23:24:46 +0200 |
commit | 089f5b64b8af10aaef176f91144275d25e71e2ff (patch) | |
tree | 641ba5d304fb5a0ca354c9097c341dcef98a540c /drivers/scsi/qedi/qedi_main.c | |
parent | scsi: fnic: make vnic_wq_get_ctrl and vnic_wq_alloc_ring static (diff) | |
download | linux-089f5b64b8af10aaef176f91144275d25e71e2ff.tar.xz linux-089f5b64b8af10aaef176f91144275d25e71e2ff.zip |
scsi: ufs: full reinit upon resume if link was off
During suspend, if the link is put to off, it would require a full
initialization during resume. This patch resets and restores both the host
and the card during initialization, otherwise host-only reset and restore
would fail occasionally.
Link: https://lore.kernel.org/r/1586844892-22720-1-git-send-email-cang@codeaurora.org
Reviewed-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Acked-by: Stanley Chu <stanley.chu@mediatek.com>
Acked-by: Avri Altman <Avri.Altman@wdc.com>
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qedi/qedi_main.c')
0 files changed, 0 insertions, 0 deletions