]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[SCSI] ufs: fix the setting interrupt aggregation counter
authorSeungwon Jeon <tgih.jun@samsung.com>
Sat, 31 Aug 2013 16:10:20 +0000 (21:40 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 6 Sep 2013 23:00:53 +0000 (16:00 -0700)
commit7d568652d3abc81a6d684d4760571a3ccb6f68d9
tree7f8ea65eb95da32ca155c6eb5359f27d26a54555
parent1c2623c50dfd38c823a62c57af2ca9551a861b21
[SCSI] ufs: fix the setting interrupt aggregation counter

IACTH(Interrupt aggregation counter threshold) value is allowed
up to 0x1F and current setting value is the maximum.
This value is related with NUTRS(max:0x20) of HCI's capability.
Considering HCI controller doesn't support the maximum, IACTH
setting should be adjusted with possible value.
For that, existing 'ufshcd_config_int_aggr' is split into two part
[reset, configure].

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Tested-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Santosh Y <santoshsy@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshci.h