[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210111214020.GE17475@kunai>
Date: Mon, 11 Jan 2021 22:40:20 +0100
From: Wolfram Sang <wsa@...nel.org>
To: Mikko Perttunen <mperttunen@...dia.com>
Cc: ldewangan@...dia.com, digetx@...il.com, thierry.reding@...il.com,
jonathanh@...dia.com, linux-i2c@...r.kernel.org,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH v2] i2c: tegra: Wait for config load atomically while in
ISR
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@...r.kernel.org
> Signed-off-by: Mikko Perttunen <mperttunen@...dia.com>
Applied to for-current, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists