summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/spear-cpufreq.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-06-22 09:27:17 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-20 19:09:18 +0300
commit43ef3b69698bfcd23c6608b511cd055bee491df1 (patch)
treea93261d82a0aca8a74e2da182d0e9302c72403cf /drivers/cpufreq/spear-cpufreq.c
parent0f984405d09114d07886850868a2a17232ab0f32 (diff)
downloadlinux-43ef3b69698bfcd23c6608b511cd055bee491df1.tar.xz
mfd: qcom_rpm: Parametrize also ack selector size
commit f37be01e6dc606f2fcc5e95c9933d948ce19bd35 upstream. The RPM has two sets of selectors (IPC bit fields): request and acknowledge. Apparently, some models use 4*32 bit words for select and some use 7*32 bit words for request, but all use 7*32 words for acknowledge bits. So apparently you can on the models with requests of 4*32 select bits send 4*32 messages and get 7*32 different replies, so on ACK interrupt, 7*32 bit words need to be read. This is how the vendor code apparently works. Reported-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/cpufreq/spear-cpufreq.c')
0 files changed, 0 insertions, 0 deletions