]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: Fix ADAPT logic for HS-G5
authorStanley Chu <stanley.chu@mediatek.com>
Thu, 16 Jun 2022 05:37:16 +0000 (13:37 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 17 Jun 2022 02:08:43 +0000 (22:08 -0400)
commitfdcb59451d553f56a3e2325f86b98f5b300c5520
tree7e3c66167a565a586533858444d4b19890a43ebc
parentfee4a86188516f89788fb0ea1aa5c09caf78a149
scsi: ufs: Fix ADAPT logic for HS-G5

ADAPT now is added not only for HS Gear4 mode but also higher gears.  Fix
the logic for higher gears.

Link: https://lore.kernel.org/r/20220616053725.5681-3-stanley.chu@mediatek.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c