scsi: ufs-qcom: enable/disable the device ref clock
authorYaniv Gardi <ygardi@codeaurora.org>
Thu, 10 Mar 2016 15:37:20 +0000 (17:37 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Mar 2016 01:04:45 +0000 (21:04 -0400)
commitf37aabcf58202e65db3035b1b360d856dd378ee2
treeacc36ed984b588c2b88b3ff72cffd277d9f082ff
parent4b9ad0b88c3e8400f23aac63ac7709d4cd972392
scsi: ufs-qcom: enable/disable the device ref clock

This change enables the device ref clock before changing to HS mode
and disables it if entered to PWM mode.

Reviewed-by: Gilad Broner <gbroner@codeaurora.org>
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-qcom.c
drivers/scsi/ufs/ufshcd.h