Re: [patch 1/2] [media] rc: unlock on error in show_protocols()

2012-11-27 Thread Douglas Bagnall
On 28/11/12 06:35, Dan Carpenter wrote: > We recently introduced a new return -ENODEV in this function but we need > to unlock before returning. There is an identical patch here (scroll down): https://patchwork.kernel.org/patch/1284081/ I'm not sure what happened to it. Douglas > Signed-off-by:

[patch 1/2] [media] rc: unlock on error in show_protocols()

2012-11-27 Thread Dan Carpenter
We recently introduced a new return -ENODEV in this function but we need to unlock before returning. Signed-off-by: Dan Carpenter diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c index 601d1ac1..d593bc6 100644 --- a/drivers/media/rc/rc-main.c +++ b/drivers/media/rc/rc-main.c