[media] tuner-core: Better implement standby mode
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 4 Feb 2011 13:42:09 +0000 (10:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:01 +0000 (20:32 -0300)
commitcbde689823776d187ba1b307a171625dbc02dd4f
tree6bb5aa1245d405fd42b81344738971356ee38d93
parente2d25a2474a8c0178bac4919729ab092783bd916
[media] tuner-core: Better implement standby mode

In the past, T_STANDBY were used on devices with a separate radio tuner to
mark a tuner that were disabled. With the time, it got newer meanings.

Also, due to a bug at the logic, the driver might incorrectly return
T_STANDBY to userspace.

So, instead of keeping the abuse, just use a boolean for storing
such information.

We can't remove T_STANDBY yet, as this is used on two other drivers. A
latter patch will address its usage outside tuner-core.

Thanks-to: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tuner-core.c
include/media/tuner.h
This page took 0.048177 seconds and 5 git commands to generate.