]> git.karo-electronics.de Git - linux-beck.git/commit
HSI: ssi_protocol: replace spin_lock with spin_lock_bh
authorSebastian Reichel <sre@kernel.org>
Fri, 17 Jun 2016 22:57:20 +0000 (00:57 +0200)
committerSebastian Reichel <sre@kernel.org>
Mon, 27 Jun 2016 22:38:32 +0000 (00:38 +0200)
commit866dcb9d57fcad11c2647a154b2b246ac10d0795
tree217d1202616b7056802609b36ffefd0434b75860
parent6d6c30973b62f1979e39f5e768b3b31c6dc81c4e
HSI: ssi_protocol: replace spin_lock with spin_lock_bh

To avoid setting irq_safe runtime pm flag in omap-ssi, multiple calls
will be moved to process context. This also affects ssi-protocol, so
use the safer spin_lock_bh instead of a simple spin_lock.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Tested-by: Pavel Machek <pavel@ucw.cz>
drivers/hsi/clients/ssi_protocol.c