]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: tegra: Don't mark VI I2C as IRQ safe runtime PM
authorSowjanya Komatineni <skomatineni@nvidia.com>
Mon, 27 Jul 2020 20:57:19 +0000 (13:57 -0700)
committerWolfram Sang <wsa@kernel.org>
Tue, 28 Jul 2020 16:31:25 +0000 (18:31 +0200)
commit90936f44bf4a8cda7f7d2bf3db086d3556d5a68f
tree03c3b9f93281dee95a31313f573a88179b8ac6a9
parent0f725ca9b401d4d4bf10c310c9a896d05210af06
i2c: tegra: Don't mark VI I2C as IRQ safe runtime PM

Tegra VI I2C is part of VE power domain and typically used for
camera usecases.

VE power domain is not always on and is non-IRQ safe. So, IRQ safe
device cannot be attached to a non-IRQ safe domain as it prevents
powering off the PM domain and generic power domain driver will warn.

Current driver marks all I2C devices as IRQ safe and VI I2C device
does not require IRQ safe as it will not be used for atomic transfers.

This patch has fix to make VI I2C as non-IRQ safe.

Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-tegra.c