diff options
author | Roja Rani Yarubandi <rojay@codeaurora.org> | 2021-05-25 18:40:50 +0530 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-06-04 22:32:39 +0200 |
commit | 9f78c607600ce4f2a952560de26534715236f612 (patch) | |
tree | 5f47caefc65af82f42209d4561dd2844f63f96db /drivers/iio/adc/hi8435.c | |
parent | de2646f34a5bdfa04fb079bfaaada992b87c6a55 (diff) |
i2c: qcom-geni: Add shutdown callback for i2c
If the hardware is still accessing memory after SMMU translation
is disabled (as part of smmu shutdown callback), then the
IOVAs (I/O virtual address) which it was using will go on the bus
as the physical addresses which will result in unknown crashes
like NoC/interconnect errors.
So, implement shutdown callback for i2c driver to suspend the bus
during system "reboot" or "shutdown".
Fixes: 37692de5d523 ("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>
Diffstat (limited to 'drivers/iio/adc/hi8435.c')
0 files changed, 0 insertions, 0 deletions