scsi: ufs-qcom: fix bug with read/modify write of UFS_CFG1
authorSubhash Jadavani <subhashj@codeaurora.org>
Tue, 6 Dec 2016 03:25:42 +0000 (19:25 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 8 Dec 2016 22:00:29 +0000 (17:00 -0500)
commitb84ca6e9c74d30e4a1ebc19a7f6a6e616e08dfd4
tree3167ee36c0b85084af47054189675d8f5f580290
parent56d4a1866d748732fd8d690b2c2156bbc9c9eb02
scsi: ufs-qcom: fix bug with read/modify write of UFS_CFG1

ufs_qcom_print_hw_debug_reg_all() function is having a bug where it
might incorrectly modify undesired bits in UFS_CFG1 register, this
change fixes it.

Reviewed-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-qcom.c