diff options
Diffstat (limited to 'firmware/tuner.c')
-rw-r--r-- | firmware/tuner.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/firmware/tuner.c b/firmware/tuner.c index c5da27079c..a471c4e970 100644 --- a/firmware/tuner.c +++ b/firmware/tuner.c | |||
@@ -49,6 +49,16 @@ const unsigned char lv24020lp_region_data[TUNER_NUM_REGIONS] = | |||
49 | }; | 49 | }; |
50 | #endif /* (CONFIG_TUNER & LV24020LP) */ | 50 | #endif /* (CONFIG_TUNER & LV24020LP) */ |
51 | 51 | ||
52 | #if (CONFIG_TUNER & TEA5760) | ||
53 | const struct tea5760_region_data tea5760_region_data[TUNER_NUM_REGIONS] = | ||
54 | { | ||
55 | [REGION_EUROPE] = { 1, 0 }, /* 50uS, US/Europe band */ | ||
56 | [REGION_US_CANADA] = { 0, 0 }, /* 75uS, US/Europe band */ | ||
57 | [REGION_JAPAN] = { 1, 1 }, /* 50uS, Japanese band */ | ||
58 | [REGION_KOREA] = { 1, 0 }, /* 50uS, US/Europe band */ | ||
59 | }; | ||
60 | #endif /* (CONFIG_TUNER & TEA5760) */ | ||
61 | |||
52 | #if (CONFIG_TUNER & TEA5767) | 62 | #if (CONFIG_TUNER & TEA5767) |
53 | const struct tea5767_region_data tea5767_region_data[TUNER_NUM_REGIONS] = | 63 | const struct tea5767_region_data tea5767_region_data[TUNER_NUM_REGIONS] = |
54 | { | 64 | { |
@@ -95,6 +105,12 @@ void tuner_init(void) | |||
95 | lv24020lp_get, | 105 | lv24020lp_get, |
96 | lv24020lp_init()) | 106 | lv24020lp_init()) |
97 | #endif | 107 | #endif |
108 | #if (CONFIG_TUNER & TEA5760) | ||
109 | TUNER_TYPE_CASE(TEA5760, | ||
110 | tea5760_set, | ||
111 | tea5760_get, | ||
112 | tea5760_init()) | ||
113 | #endif | ||
98 | #if (CONFIG_TUNER & TEA5767) | 114 | #if (CONFIG_TUNER & TEA5767) |
99 | TUNER_TYPE_CASE(TEA5767, | 115 | TUNER_TYPE_CASE(TEA5767, |
100 | tea5767_set, | 116 | tea5767_set, |