summaryrefslogtreecommitdiff
path: root/drivers/iio
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2019-03-03 23:29:20 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2019-03-03 23:29:20 +0300
commit7cb5101ee0107376f8eace195a138f99174e80ff (patch)
tree5103c5bd7b3c1efd1dce15ddcb66d759823f9985 /drivers/iio
parentcbaa99ed1b697072f089693a7fe2d649d08bf317 (diff)
downloadlinux-7cb5101ee0107376f8eace195a138f99174e80ff.tar.xz
habanalabs: prevent host crash during suspend/resume
This patch fixes the implementation of suspend/resume of the device so that upon resume of the device, the host won't crash due to PCI completion timeout. Upon suspend, the device is being reset due to PERST. Therefore, upon resume, the driver must initialize the PCI controller as if the driver was loaded. If the controller is not initialized and the device tries to access the device through the PCI bars, the host will crash with PCI completion timeout error. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions