]> git.karo-electronics.de Git - karo-tx-linux.git/commit
scsi: ufs: kick start clock scaling only after device detection
authorsubhashj@codeaurora.org <subhashj@codeaurora.org>
Sat, 4 Feb 2017 00:58:01 +0000 (16:58 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 7 Feb 2017 23:04:12 +0000 (18:04 -0500)
commit0701e49da9852e455d63efb7bcd225d3c8af11df
treebba678979d4162bb4760627ab8d7e5f8ca3586b5
parent401f1e4490ee9d6e74d7514903dd01dae61488bf
scsi: ufs: kick start clock scaling only after device detection

UFS clock scaling might start kicking in even before the device
is running at the fastest interface speed which is undesirable.
This change moves the clock scaling kick start only after the
device is detected and running at the fastest interface speed.

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