diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-05 18:58:38 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-05 18:58:38 -0300 |
commit | 59ad1e534e569f743df108421f369cbf915f2e6e (patch) | |
tree | 7a3a0177c072cc3fc8b4ff5204e7065d7971115c /linux/drivers/media/radio | |
parent | 9cc45cab6319967ccacdcb3b8c848ec555941200 (diff) | |
parent | 21ffe960decd954bf2e0959e5d85ec5484477bbd (diff) | |
download | mediapointer-dvb-s2-59ad1e534e569f743df108421f369cbf915f2e6e.tar.gz mediapointer-dvb-s2-59ad1e534e569f743df108421f369cbf915f2e6e.tar.bz2 |
merge: http://linuxtv.org/hg/~awalls/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/radio')
-rw-r--r-- | linux/drivers/media/radio/radio-si470x.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/radio/radio-si470x.c b/linux/drivers/media/radio/radio-si470x.c index de4673b3a..20aa447cc 100644 --- a/linux/drivers/media/radio/radio-si470x.c +++ b/linux/drivers/media/radio/radio-si470x.c @@ -1206,7 +1206,7 @@ static int si470x_fops_release(struct file *file) kfree(radio->int_in_buffer); kfree(radio->buffer); kfree(radio); - goto done; + goto unlock; } /* cancel read processes */ @@ -1216,9 +1216,8 @@ static int si470x_fops_release(struct file *file) retval = si470x_stop(radio); usb_autopm_put_interface(radio->intf); } - +unlock: mutex_unlock(&radio->disconnect_lock); - done: return retval; } |