]> git.karo-electronics.de Git - linux-beck.git/commit
staging: xillybus: Removed mmiowb() before mutex_unlock()
authorEli Billauer <eli.billauer@gmail.com>
Sat, 16 Aug 2014 15:57:57 +0000 (18:57 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 20:14:41 +0000 (13:14 -0700)
commitf66a49766fdfcb8186056bd44a407594c6a3d5ff
tree022de300eb05a08a97ab2d69cb9bb7193de40f90
parenta5b2e028bb47b4d6f4508e41120cfb2ea8aa9cac
staging: xillybus: Removed mmiowb() before mutex_unlock()

The relevant sequences consist of two I/O memory writes. The second write
depends on the first one. mmiowb() was inserted to make sure that no other
thread inserts a "first write" before the current one finished its second.

As a mutex protects this critical sequence, mmiowb() is unnecessary.

Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xillybus/xillybus_core.c