]> 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)
commit05145f93ca418e1598a0522d234c74640b815dbf
treebbea9ffbb7d90211540208c48b72502bdffb9934
parentc34d7d58d4288124ca7e3d17ae32723c1a8425ef
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: b5b98d863e51 ("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