]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (10173): Missing v4l2_prio_close in radio_release
authorUdo Steinberg <udo@hypervisor.org>
Fri, 2 Jan 2009 20:34:28 +0000 (17:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 3 Jan 2009 12:50:38 +0000 (10:50 -0200)
commitb15dd79ea06b04a7ecee95f62ce7b6a3547dbb0a
treeb2919b6bab52577cbabc9e7be9c2be3851f17941
parent763d19bb90a005a339b7d5ba70a710bb17db2bab
V4L/DVB (10173): Missing v4l2_prio_close in radio_release

The radio_release function of the BTTV driver is missing a call to
v4l2_prio_close. As a result, after the radio device has been opened at
least once (e.g., by HAL during bootup), v4l2_priority will never drop below
V4L2_PRIORITY_INTERACTIVE again. With the following patch against 2.6.28,
applications that run with V4L2_PRIORITY_BACKGROUND are able to open devices
again. Previous Linux versions are affected as well.

Signed-off-by: Udo Steinberg <udo@hypervisor.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/bt8xx/bttv-driver.c