Re: [PATCH v2 2/2] i2c: imx: avoid taking clk_prepare mutex in PM callbacks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Wolfram,

Am Dienstag, den 03.04.2018, 15:29 +0200 schrieb Wolfram Sang:
> On Thu, Mar 08, 2018 at 02:25:18PM +0100, Lucas Stach wrote:
> > This is unsafe, as the runtime PM callbacks are called from the PM
> > workqueue, so this may deadlock when handling an i2c attached
> > clock,
> > which may already hold the clk_prepare mutex from another context.
> > 
> > Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
> 
> Applied to for-next, thanks!
> 
> stable tag?

Yes, even though the number of affected systems is low it might make
sense:

Fixes: 588eb93ea49f (i2c: imx: add runtime pm support to improve the
performance)

Regards,
Lucas



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux