diff options
author | Anil Gurumurthy <anil.gurumurthy@cavium.com> | 2018-06-06 18:41:42 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-06-08 04:50:00 +0300 |
commit | 3cedc8797b9c0f2222fd45a01f849c57c088828b (patch) | |
tree | 20ff6df60fd29dc7551248f0759536cfff5fd37c /drivers/media/platform/davinci/vpbe.c | |
parent | 3cb182b3fa8b7a61f05c671525494697cba39c6a (diff) | |
download | linux-3cedc8797b9c0f2222fd45a01f849c57c088828b.tar.xz |
scsi: qla2xxx: Mask off Scope bits in retry delay
Some newer target uses "Status Qualifier" response in a returned "Busy
Status". This new response code of 0x4001, which is "Scope" bits,
translates to "Affects all units accessible by target". Due to this new
value returned in the Scope bits, driver was using that value as timeout
value which resulted into driver waiting for 27min timeout.
This patch masks off this Scope bits so that driver does not use this
value as retry delay time.
Cc: <stable@vger.kernel.org>
Signed-off-by: Anil Gurumurthy <anil.gurumurthy@cavium.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Reviewed-by: Martin Wilck <mwilck@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/media/platform/davinci/vpbe.c')
0 files changed, 0 insertions, 0 deletions