aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2018-03-08 14:25:18 +0100
committerWolfram Sang <wsa@the-dreams.de>2018-04-03 15:29:28 +0200
commitd9a22d713acb484f9d60861598a71e28129c0afa (patch)
tree737453064662c8287cc586e7fd605917835a4ec8 /mm
parenti2c: imx: use clk notifier for rate changes (diff)
downloadlinux-dev-d9a22d713acb484f9d60861598a71e28129c0afa.tar.xz
linux-dev-d9a22d713acb484f9d60861598a71e28129c0afa.zip
i2c: imx: 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: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions