aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-02-04 08:42:09 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 19:32:01 -0400
commitcbde689823776d187ba1b307a171625dbc02dd4f (patch)
tree6bb5aa1245d405fd42b81344738971356ee38d93 /include/media
parente2d25a2474a8c0178bac4919729ab092783bd916 (diff)
[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>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/tuner.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/media/tuner.h b/include/media/tuner.h
index 5eec5292d01e..1d596427d124 100644
--- a/include/media/tuner.h
+++ b/include/media/tuner.h
@@ -160,7 +160,6 @@
160#ifdef __KERNEL__ 160#ifdef __KERNEL__
161 161
162enum tuner_mode { 162enum tuner_mode {
163 T_UNINITIALIZED = 0,
164 T_RADIO = 1 << V4L2_TUNER_RADIO, 163 T_RADIO = 1 << V4L2_TUNER_RADIO,
165 T_ANALOG_TV = 1 << V4L2_TUNER_ANALOG_TV, 164 T_ANALOG_TV = 1 << V4L2_TUNER_ANALOG_TV,
166 T_DIGITAL_TV = 1 << V4L2_TUNER_DIGITAL_TV, 165 T_DIGITAL_TV = 1 << V4L2_TUNER_DIGITAL_TV,