diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-11-27 13:35:09 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-04 06:06:41 +0800 |
commit | f74e995c9ba5963cd8d6ef91abe8f49d9614b423 (patch) | |
tree | 43a27ede5767982766e7619961652b199d9dc750 /fs | |
parent | 0f600ee1431404eb87d36b84a66ccc004c5ace9b (diff) | |
download | lwn-f74e995c9ba5963cd8d6ef91abe8f49d9614b423.tar.gz lwn-f74e995c9ba5963cd8d6ef91abe8f49d9614b423.zip |
media: rc: unlock on error in show_protocols()
commit 30ebc5e44d057a1619ad63fe32c8c1670c37c4b8 upstream.
We recently introduced a new return -ENODEV in this function but we need
to unlock before returning.
[mchehab@redhat.com: found two patches with the same fix. Merged SOB's/acks into one patch]
Acked-by: Herton R. Krzesinski <herton.krzesinski@canonical.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Douglas Bagnall <douglas@paradise.net.nz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions