diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88-tvaudio.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-tvaudio.c | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/drivers/media/video/cx88/cx88-tvaudio.c b/drivers/media/video/cx88/cx88-tvaudio.c index 063df03dcf2e..97ef421dd093 100644 --- a/drivers/media/video/cx88/cx88-tvaudio.c +++ b/drivers/media/video/cx88/cx88-tvaudio.c | |||
@@ -797,55 +797,6 @@ void cx88_get_stereo(struct cx88_core *core, struct v4l2_tuner *t) | |||
797 | Add some code here later. | 797 | Add some code here later. |
798 | */ | 798 | */ |
799 | 799 | ||
800 | # if 0 | ||
801 | t->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_SAP | | ||
802 | V4L2_TUNER_CAP_LANG1 | V4L2_TUNER_CAP_LANG2; | ||
803 | t->rxsubchans = V4L2_TUNER_SUB_MONO; | ||
804 | t->audmode = V4L2_TUNER_MODE_MONO; | ||
805 | |||
806 | switch (core->tvaudio) { | ||
807 | case WW_BTSC: | ||
808 | t->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_SAP; | ||
809 | t->rxsubchans = V4L2_TUNER_SUB_STEREO; | ||
810 | if (1 == pilot) { | ||
811 | /* SAP */ | ||
812 | t->rxsubchans |= V4L2_TUNER_SUB_SAP; | ||
813 | } | ||
814 | break; | ||
815 | case WW_A2_BG: | ||
816 | case WW_A2_DK: | ||
817 | case WW_A2_M: | ||
818 | if (1 == pilot) { | ||
819 | /* stereo */ | ||
820 | t->rxsubchans = | ||
821 | V4L2_TUNER_SUB_MONO | V4L2_TUNER_SUB_STEREO; | ||
822 | if (0 == mode) | ||
823 | t->audmode = V4L2_TUNER_MODE_STEREO; | ||
824 | } | ||
825 | if (2 == pilot) { | ||
826 | /* dual language -- FIXME */ | ||
827 | t->rxsubchans = | ||
828 | V4L2_TUNER_SUB_LANG1 | V4L2_TUNER_SUB_LANG2; | ||
829 | t->audmode = V4L2_TUNER_MODE_LANG1; | ||
830 | } | ||
831 | break; | ||
832 | case WW_NICAM_BGDKL: | ||
833 | if (0 == mode) { | ||
834 | t->audmode = V4L2_TUNER_MODE_STEREO; | ||
835 | t->rxsubchans |= V4L2_TUNER_SUB_STEREO; | ||
836 | } | ||
837 | break; | ||
838 | case WW_SYSTEM_L_AM: | ||
839 | if (0x0 == mode && !(cx_read(AUD_INIT) & 0x04)) { | ||
840 | t->audmode = V4L2_TUNER_MODE_STEREO; | ||
841 | t->rxsubchans |= V4L2_TUNER_SUB_STEREO; | ||
842 | } | ||
843 | break; | ||
844 | default: | ||
845 | /* nothing */ | ||
846 | break; | ||
847 | } | ||
848 | # endif | ||
849 | return; | 800 | return; |
850 | } | 801 | } |
851 | 802 | ||