commit | 487e0a608d8d7483be5b5fe3fe9414636c087588 | [log] [tgz] |
---|---|---|
author | Jens Taprogge <jens.taprogge@taprogge.org> | Wed Sep 12 14:55:33 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 12 09:56:01 2012 -0700 |
tree | 0721268c17b01a3edcf8a8ef1641021a5bed144b | |
parent | b8d61d49b2437df3a0aef17d321948783d275bb3 [diff] |
Staging: ipack/bridges/tpci200: Protect device registers with spinlock. Some of the device registers are accessed from both interrupt and non-interrupt context. To ensure proper read-modify-write modification of these registers we can not use the "global" tpci200 mutex. Instead a spin-lock is used. Signed-off-by: Jens Taprogge <jens.taprogge@taprogge.org> Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>