scsi: ufs: Use freq table with devfreq
devfreq requires that the client operates on actual frequencies, not only 0
and UMAX_INT and as such UFS brok with the introduction of f1d981eaecf8 ("PM
/ devfreq: Use the available min/max frequency").
This patch registers the frequencies of the first clock with devfreq and use
these to determine if we're trying to step up or down.
Change-Id: Ic564b00187f889d4ce0e2306cfce8cc377b76e78
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> [for devfreq & OPP part]
Reviewed-by:
Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by:
Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com>
Git-commit: 092b45583c524edac688f0b6cdc62a70c3081e4a
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git
[cang@codeaurora.org: resolved trivial merge conflicts]
Signed-off-by:
Can Guo <cang@codeaurora.org>
Loading
Please register or sign in to comment