mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
Revert "i2c: rcar: remove spinlock"
commit91bfe2989aupstream. This reverts commit150b8be3cd. The I2C core's per-adapter locks can't protect from IRQs, so the driver still needs a spinlock to protect the register accesses. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
705ee1e247
commit
2fb2af14c2
1 changed files with 22 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue