diff options
author | Rajendra Nayak <rnayak@codeaurora.org> | 2020-07-14 11:01:49 +0530 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-07-13 22:43:43 -0700 |
commit | 4a3107f61f1ce2c8ccd4dde8ae655ae3f2996f35 (patch) | |
tree | 744ed8e4ac661ff56a57edc9fe956dee081aea57 /include/linux | |
parent | 650c8bd36a66c708be343d66a741b05d88d65b55 (diff) | |
download | linux-4a3107f61f1ce2c8ccd4dde8ae655ae3f2996f35.tar.gz linux-4a3107f61f1ce2c8ccd4dde8ae655ae3f2996f35.tar.bz2 linux-4a3107f61f1ce2c8ccd4dde8ae655ae3f2996f35.zip |
tty: serial: qcom-geni-serial: Drop the icc bw votes in suspend for console
When using the geni-serial as console, its important to be
able to hit the lowest possible power state in suspend,
even with no_console_suspend.
The only thing that prevents it today on platforms like the sc7180
is the interconnect BW votes, which we certainly don't need when
the system is in suspend. So in the suspend handler mark them as
ACTIVE_ONLY (0x3) and on resume switch them back to the ALWAYS tag (0x7)
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Reviewed-by: Akash Asthana <akashast@codeaurora.org>
Tested-by: Matthias Kaehlcke <mka@chromium.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/1594704709-26072-1-git-send-email-rnayak@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/qcom-geni-se.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/qcom-geni-se.h b/include/linux/qcom-geni-se.h index afa511ef1457..8f385fbe5a0e 100644 --- a/include/linux/qcom-geni-se.h +++ b/include/linux/qcom-geni-se.h @@ -454,6 +454,7 @@ void geni_se_rx_dma_unprep(struct geni_se *se, dma_addr_t iova, size_t len); int geni_icc_get(struct geni_se *se, const char *icc_ddr); int geni_icc_set_bw(struct geni_se *se); +void geni_icc_set_tag(struct geni_se *se, u32 tag); int geni_icc_enable(struct geni_se *se); |