Thread (4 messages) 4 messages, 3 authors, 2021-01-12

Re: [PATCH v2] i2c: tegra: Wait for config load atomically while in ISR

From: Wolfram Sang <wsa@kernel.org>
Date: 2021-01-11 21:41:19
Also in: linux-i2c, lkml, stable

On Mon, Jan 11, 2021 at 06:08:32PM +0200, Mikko Perttunen wrote:
Upon a communication error, the interrupt handler can call
tegra_i2c_disable_packet_mode. This causes a sleeping poll to happen
unless the current transaction was marked atomic. Fix this by
making the poll happen atomically if we are in an IRQ.

This matches the behavior prior to the patch mentioned
in the Fixes tag.

Fixes: ede2299f7101 ("i2c: tegra: Support atomic transfers")
Cc: stable@vger.kernel.org
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Applied to for-current, thanks!

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help