diff options
author | Bjorn Andersson | 2018-05-18 08:26:37 +0200 |
---|---|---|
committer | Martin K. Petersen | 2018-05-18 17:28:18 +0200 |
commit | 092b45583c524edac688f0b6cdc62a70c3081e4a (patch) | |
tree | ef7532ec0b432489821106c7423822ddd4d32452 /drivers/scsi/csiostor/csio_mb.h | |
parent | scsi: ufs: Extract devfreq registration (diff) | |
download | kernel-qcow2-linux-092b45583c524edac688f0b6cdc62a70c3081e4a.tar.gz kernel-qcow2-linux-092b45583c524edac688f0b6cdc62a70c3081e4a.tar.xz kernel-qcow2-linux-092b45583c524edac688f0b6cdc62a70c3081e4a.zip |
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.
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>
Diffstat (limited to 'drivers/scsi/csiostor/csio_mb.h')
0 files changed, 0 insertions, 0 deletions