]> git.karo-electronics.de Git - linux-beck.git/commit
staging: unisys: visorinput: make lock_visor_dev a mutex
authorTim Sell <Timothy.Sell@unisys.com>
Sat, 11 Jun 2016 01:48:26 +0000 (21:48 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Aug 2016 18:44:26 +0000 (20:44 +0200)
commit8dfb8fdbd2d1dd4facef6eef24a26b6bc1b33191
tree9f530335def6b4dbcf9129bff7b19fae6dc658b4
parent24ce1b66619c499f5913eac5debf9170f7a9dcc3
staging: unisys: visorinput: make lock_visor_dev a mutex

Since lock_visor_dev is a binary semaphore it makes more sense to
use a mutex lock.

Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Acked-By: Neil Horman <nhorman@tuxdriver.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorinput/visorinput.c