Skip to content
Commit fa390658 authored by Alexander Stein's avatar Alexander Stein Committed by Wolfram Sang
Browse files

i2c: imx-lpi2c: avoid taking clk_prepare mutex in PM callbacks



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: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent c770657b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment