aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorAnand Lodnoor <[email protected]>2020-01-14 16:51:19 +0530
committerMartin K. Petersen <[email protected]>2020-01-15 23:21:03 -0500
commit6d7537270e3283b92f9b327da9d58a4de40fe8d0 (patch)
tree40fa4453a429b56f6f64435954d3fce9b7a674be /drivers/fpga/fpga-bridge.c
parent201a810cc188af87d5798a383dc5115509e752ae (diff)
scsi: megaraid_sas: Do not initiate OCR if controller is not in ready state
Driver initiates OCR if a DCMD command times out. But there is a deadlock if the driver attempts to invoke another OCR before the mutex lock (reset_mutex) is released from the previous session of OCR. This patch takes care of the above scenario using new flag MEGASAS_FUSION_OCR_NOT_POSSIBLE to indicate if OCR is possible. Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Shivasharan S <[email protected]> Signed-off-by: Anand Lodnoor <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions