]> 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)
commita0899b5557597fb58ba3f16c96ea8418a1307039
tree4961633d2952d8878109b5845cefcd53c7eec131
parent2e037994863531c5721d9983b79cb6267d84de24
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