summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorRunyu Xiao <runyu.xiao@seu.edu.cn>2026-08-19 22:17:51 +0800
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-08-31 00:52:42 +0100
commitbaf7e43b7fb5afb777353bf265ddf9d909f72b9f (patch)
tree9843324bc7ce8b03549191edaf34eb3693810c49 /tools/lib/python/kdoc/python_version.py
parent2b498df75d6c29aa3e760127ae0f0003df598b53 (diff)
downloadlinux-next-baf7e43b7fb5afb777353bf265ddf9d909f72b9f.tar.gz
linux-next-baf7e43b7fb5afb777353bf265ddf9d909f72b9f.zip
iio: admv1013: initialize callback mutex before registering notifier
admv1013_probe() registers a clock notifier whose callback takes st->lock on POST_RATE_CHANGE. Initialize the mutex before devm_clk_notifier_register() so the callback cannot observe an uninitialized lock during probe. Use devm_mutex_init() so the lock lifetime is tied to the device and cleanup stays paired with the rest of the managed probe resources. Fixes: da35a7b526d9 ("iio: frequency: admv1013: add support for ADMV1013") Cc: stable@vger.kernel.org Signed-off-by: Runyu Xiao <runyu.xiao@seu.edu.cn> Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions