[SPARC] Videopix Frame Grabber: Fix unreleased lock in vfc_debug()
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>
Tue, 31 Jul 2007 08:37:24 +0000 (01:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Jul 2007 08:37:24 +0000 (01:37 -0700)
commit2fa3195d72f7d0cfb4dcb2b0dfa265ed0fa5cfa3
tree89da0b8ac2776f104d7852b27d0aaba47ab953a1
parente5071b5493b1dcfa98a6e8a75f56997f6d4a0c25
[SPARC] Videopix Frame Grabber: Fix unreleased lock in vfc_debug()

Videopix Frame Grabber: vfc_debug() doesn't release the device lock
when copy_from_user() fails

Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/sbus/char/vfc_dev.c