]> git.karo-electronics.de Git - linux-beck.git/commit
[media] media: dvb-frontend invoke enable/disable_source handlers
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 11 Feb 2016 23:41:36 +0000 (21:41 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 27 Feb 2016 12:34:06 +0000 (09:34 -0300)
commit68ff5767ddc419c046571a95e21406c56a18eaf9
treed8d8332cf1b2f14e069c31dd2e7400f6b021f249
parentc94903f1f7cc7649b0c2c46c75d6b8b56fd9acb8
[media] media: dvb-frontend invoke enable/disable_source handlers

Change dvb frontend to check if tuner is free when device opened in RW
mode.

Call to enable_source handler either returns with an active pipeline to
tuner or error if tuner is busy.

Tuner is released when frontend is released calling the disable_source
handler.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-core/dvb_frontend.c