diff options
author | Alexander Stein <[email protected]> | 2023-04-24 10:06:27 +0200 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2023-05-03 17:27:29 +0200 |
commit | fa39065833dbdb2059ffe25d071e722c31fbbb6c (patch) | |
tree | 37a98a3beed7294ca0bd358f9753000c16a0d8d7 /lib/mpi/mpi-mod.c | |
parent | c770657bd2611b077ec1e7b1fe6aa92f249399bd (diff) |
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: Alexander Stein <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions