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 19:05:54 +0000 (11:05 -0800)
commitfd5cd457f8de18a96a59655a7c432fda96aaea60
treef71d1b3af78b5e97dfb7e18d56deea96c5c9e53c
parent5bdecef947f289555686de327a7bd5ac9142cfa7
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