]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: qcom-geni: Suspend and resume the bus during SYSTEM_SLEEP_PM ops
authorRoja Rani Yarubandi <rojay@codeaurora.org>
Tue, 25 May 2021 13:10:51 +0000 (18:40 +0530)
committerWolfram Sang <wsa@kernel.org>
Fri, 4 Jun 2021 20:32:58 +0000 (22:32 +0200)
commit3605d193eaf249207d9fd72c5a38a1fc8ede6aca
treebbea9ffbb7d90211540208c48b72502bdffb9934
parent2ed01502e1be937b4b41246ff0ecb676837ab7c5
i2c: qcom-geni: Suspend and resume the bus during SYSTEM_SLEEP_PM ops

Mark bus as suspended during system suspend to block the future
transfers. Implement geni_i2c_resume_noirq() to resume the bus.

Fixes: e5dc314c03a3 ("i2c: i2c-qcom-geni: Add bus driver for the Qualcomm GENI I2C controller")
Signed-off-by: Roja Rani Yarubandi <rojay@codeaurora.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-qcom-geni.c