+206
−33
Loading
Rework the read and write code paths in the driver to support operation in atomic contexts. Similar changes have been implemented in other drivers, including: commit 3a5ee18d ("i2c: imx: implement master_xfer_atomic callback") commit 445094c8 ("i2c: exynos5: add support for atomic transfers") commit ede2299f ("i2c: tegra: Support atomic transfers") commit fe402bd0 ("i2c: meson: implement the master_xfer_atomic callback") Signed-off-by:Manikanta Guntupalli <manikanta.guntupalli@amd.com> Acked-by:
Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/20241210095242.1982770-3-manikanta.guntupalli@amd.com Signed-off-by:
Andi Shyti <andi.shyti@kernel.org>