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

From: Wolfram Sang
Date: Mon Jan 11 2021 - 16:41:18 EST


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@xxxxxxxxxxxxxxx
> Signed-off-by: Mikko Perttunen <mperttunen@xxxxxxxxxx>

Applied to for-current, thanks!

Attachment: signature.asc
Description: PGP signature