Skip to content
Commit e6862430 authored by Axel Lin's avatar Axel Lin Committed by Bartosz Golaszewski
Browse files

gpio: mlxbf2: Fix sleeping while holding spinlock



mutex_lock() can sleep, don't call mutex_lock() while holding spin_lock.

Fixes: bc0ae0e7 ("gpio: add driver for Mellanox BlueField 2 GPIO controller")
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatar <asmaa@mellanox.com>
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent e75dfba3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment