]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] ufs: fix register address in UIC error interrupt handling
authorAkinobu Mita <mita@fixstars.com>
Wed, 26 Jun 2013 17:09:33 +0000 (22:39 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 28 Jun 2013 20:16:35 +0000 (13:16 -0700)
commitcf9f4b59c52bd12c850c20435eef9f196976f541
treed64b6d3b35117ac45929952a1bb33fa711e85ed6
parent2e2930a3449f1fe3806e26c4391a71097cae43f3
[SCSI] ufs: fix register address in UIC error interrupt handling

In UIC error interrupt handling, it checks if UIC data link layer error
code indicates PA_INIT_ERROR in order to determine whether a fatal error
handling is needed or not.

But the code tries to read UIC data link layer error code from wrong
REG_UIC_ERROR_CODE_PHY_ADAPTER_LAYER, it should be
REG_UIC_ERROR_CODE_DATA_LINK_LAYER.

Signed-off-by: Akinobu Mita <mita@fixstars.com>
Signed-off-by: Santosh Y <santoshsy@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ufs/ufshcd.c