diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2020-06-24 13:35:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-29 19:10:51 +0200 |
commit | b037d60a3b1d1227609fd858fa34321f41829911 (patch) | |
tree | 1d82cc9422220efd5a4f118b909e299f0116777f /include/linux/compiler_attributes.h | |
parent | 9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68 (diff) |
misc: atmel-ssc: lock with mutex instead of spinlock
Uninterruptible context is not needed in the driver and causes lockdep
warning because of mutex taken in of_alias_get_id(). Convert the lock to
mutex to avoid the issue.
Cc: stable@vger.kernel.org
Fixes: 099343c64e16 ("ARM: at91: atmel-ssc: add device tree support")
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Link: https://lore.kernel.org/r/50f0d7fa107f318296afb49477c3571e4d6978c5.1592998403.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions