Commit 48727ec8 authored by Bjorn Andersson's avatar Bjorn Andersson
Browse files

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
f1d981ea ("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.

Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent cc99f456
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment