mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
[media] radio-bcm2048: fix missing unlock on error in bcm2048_rds_fifo_receive()
Add the missing unlock before return from function bcm2048_rds_fifo_receive() in the error handling case. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
7f95c904b9
commit
66c5e59278
|
|
@ -1767,6 +1767,7 @@ static void bcm2048_rds_fifo_receive(struct bcm2048_device *bdev)
|
|||
bdev->rds_info.radio_text, bdev->fifo_size);
|
||||
if (err != 2) {
|
||||
dev_err(&bdev->client->dev, "RDS Read problem\n");
|
||||
mutex_unlock(&bdev->mutex);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user