]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: qcom: rpmh-rsc: allow active requests from wake TCS
authorLina Iyer <ilina@codeaurora.org>
Wed, 20 Jun 2018 13:27:07 +0000 (18:57 +0530)
committerAndy Gross <andy.gross@linaro.org>
Sat, 21 Jul 2018 18:33:49 +0000 (13:33 -0500)
commiteb01874c59343f9b2bea74393da61b7e8a73e456
tree4961633d2952d8878109b5845cefcd53c7eec131
parent1f60a0c4aada0dfa2264523b892ec5b684a8285d
drivers: qcom: rpmh-rsc: allow active requests from wake TCS

Some RSCs may only have sleep and wake TCS, i.e, there is no dedicated
TCS for active mode request, but drivers may still want to make active
requests from these RSCs. In such cases re-purpose the wake TCS to send
active state requests.

The requirement for this is that the driver is aware that the wake TCS
is being repurposed to send active request, hence the sleep and wake
TCSes be invalidated before the active request is sent.

Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/rpmh-rsc.c