]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: unify scsi_block_requests usage
authorStanley Chu <stanley.chu@mediatek.com>
Tue, 24 Dec 2019 13:01:05 +0000 (21:01 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 3 Jan 2020 02:57:16 +0000 (21:57 -0500)
commit7d9d84cd5513591fd6d4209494a58cc5c2cd15af
treeb3fca287f52ede016c8d0e2075d5bd9f4602fbf0
parent74c6ced4e855866da027f4b3430a57c1bce5c6a1
scsi: ufs: unify scsi_block_requests usage

Currently UFS driver has ufshcd_scsi_block_requests() with reference
counter mechanism to avoid possible racing of blocking and unblocking
requests flow. Unify all users in UFS driver to use the same function.

Link: https://lore.kernel.org/r/1577192466-20762-2-git-send-email-stanley.chu@mediatek.com
Reviewed-by: Can Guo <cang@codeaurora.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c