iio:accel:kxsd9 fix missing mutex unlock
authorFrank Zago <frank@zago.net>
Wed, 13 Nov 2013 22:53:00 +0000 (22:53 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2013 18:57:16 +0000 (10:57 -0800)
commit1a2d670b28befe626d50a39af579da44ecd22245
treef852a12896b1bf45e31f18cf9a6d62959489d704
parent8e7314052be20d6a00bc524648a2a8daf7139d46
iio:accel:kxsd9 fix missing mutex unlock

commit 0ee005c7dc2803125275e24598f0fb37775a6af3 upstream.

This will leave a lock held after reading from the device, preventing
any further reads.

Signed-off-by: Frank Zago <frank@zago.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/accel/kxsd9.c