summaryrefslogtreecommitdiff
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@ew.tq-group.com>2023-04-24 10:06:27 +0200
committerWolfram Sang <wsa@kernel.org>2023-05-03 17:27:29 +0200
commitfa39065833dbdb2059ffe25d071e722c31fbbb6c (patch)
tree37a98a3beed7294ca0bd358f9753000c16a0d8d7 /include/linux/i2c.h
parentc770657bd2611b077ec1e7b1fe6aa92f249399bd (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 <alexander.stein@ew.tq-group.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'include/linux/i2c.h')
0 files changed, 0 insertions, 0 deletions