aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/tea575x-tuner.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/tea575x-tuner.h b/include/sound/tea575x-tuner.h
index fe8590cac5c2..098c4de44945 100644
--- a/include/sound/tea575x-tuner.h
+++ b/include/sound/tea575x-tuner.h
@@ -28,6 +28,7 @@
28#include <media/v4l2-device.h> 28#include <media/v4l2-device.h>
29 29
30#define TEA575X_FMIF 10700 30#define TEA575X_FMIF 10700
31#define TEA575X_AMIF 450
31 32
32#define TEA575X_DATA (1 << 0) 33#define TEA575X_DATA (1 << 0)
33#define TEA575X_CLK (1 << 1) 34#define TEA575X_CLK (1 << 1)
@@ -52,12 +53,14 @@ struct snd_tea575x {
52 struct video_device vd; /* video device */ 53 struct video_device vd; /* video device */
53 int radio_nr; /* radio_nr */ 54 int radio_nr; /* radio_nr */
54 bool tea5759; /* 5759 chip is present */ 55 bool tea5759; /* 5759 chip is present */
56 bool has_am; /* Device can tune to AM freqs */
55 bool cannot_read_data; /* Device cannot read the data pin */ 57 bool cannot_read_data; /* Device cannot read the data pin */
56 bool cannot_mute; /* Device cannot mute */ 58 bool cannot_mute; /* Device cannot mute */
57 bool mute; /* Device is muted? */ 59 bool mute; /* Device is muted? */
58 bool stereo; /* receiving stereo */ 60 bool stereo; /* receiving stereo */
59 bool tuned; /* tuned to a station */ 61 bool tuned; /* tuned to a station */
60 unsigned int val; /* hw value */ 62 unsigned int val; /* hw value */
63 u32 band; /* 0: FM, 1: FM-Japan, 2: AM */
61 u32 freq; /* frequency */ 64 u32 freq; /* frequency */
62 struct mutex mutex; 65 struct mutex mutex;
63 struct snd_tea575x_ops *ops; 66 struct snd_tea575x_ops *ops;
@@ -70,5 +73,6 @@ struct snd_tea575x {
70 73
71int snd_tea575x_init(struct snd_tea575x *tea, struct module *owner); 74int snd_tea575x_init(struct snd_tea575x *tea, struct module *owner);
72void snd_tea575x_exit(struct snd_tea575x *tea); 75void snd_tea575x_exit(struct snd_tea575x *tea);
76void snd_tea575x_set_freq(struct snd_tea575x *tea);
73 77
74#endif /* __SOUND_TEA575X_TUNER_H */ 78#endif /* __SOUND_TEA575X_TUNER_H */