scsi: ufs: tc-dwc-g210 driver fix for 20-bit RMMI
authorManjunath M B <Manjunath.MB@synopsys.com>
Tue, 12 Jul 2016 13:55:36 +0000 (19:25 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 Jul 2016 19:10:00 +0000 (15:10 -0400)
commit757f9d7a801236a9c49468af9e64cd7c447c2f8e
tree416fefff173806ab53b45b289608d18eba5cb471
parent83c3d3400c87d6d943bf97fce4b30f4fe6870253
scsi: ufs: tc-dwc-g210 driver fix for 20-bit RMMI

The code was checking on PA_CONNECTEDRXLANES and PA_CONNECTEDTXLANES
attributes to program the Lane#1 attributes. The correct attributes are
PA_AVAILRXDATALANES and PA_AVAILTXDATALANES respectively.

Signed-off-by: Manjunath M B <manjumb@synopsys.com>
Tested-by: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/tc-dwc-g210.c