diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-24 14:21:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-24 14:21:08 -0400 |
commit | c328d54cd4ad120d76284e46dcca6c6cf996154a (patch) | |
tree | 104c023be66faa5fce6e0a56c0a6d13c62fd21e5 /drivers/media/video/cx88/cx88-tvaudio.c | |
parent | 346ad4b7fe392571f19314f153db9151dbc1d82b (diff) | |
parent | b0166ab3a6ae6d7af8d9a21a7836154963c69a11 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb
* git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (452 commits)
V4L/DVB (7731): tuner-xc2028: fix signal strength calculus
V4L/DVB (7730): tuner-xc2028: Fix SCODE load for MTS firmwares
V4L/DVB (7729): Fix VIDIOCGAP corruption in ivtv
V4L/DVB (7728): tea5761: bugzilla #10462: tea5761 autodetection code were broken
V4L/DVB (7726): cx23885: Enable cx23417 support on the HVR1800
V4L/DVB (7725): cx23885: Add generic cx23417 hardware encoder support
V4L/DVB (7723): pvrusb2: Clean up input selection list generation in V4L interface
V4L/DVB (7722): pvrusb2: Implement FM radio support for Gotview USB2.0 DVD 2
V4L/DVB (7721): pvrusb2: Restructure cx23416 firmware loading to have a common exit point
V4L/DVB (7720): pvrusb2: Fix bad error code on cx23416 firmware load failure
V4L/DVB (7719): pvrusb2: Implement input selection enforcement
V4L/DVB (7718): pvrusb2-dvb: update Kbuild selections
V4L/DVB (7717): pvrusb2-dvb: add DVB-T support for Hauppauge pvrusb2 model 73xxx
V4L/DVB (7716): pvrusb2: clean up global functions
V4L/DVB (7715): pvrusb2: Clean out all use of __FUNCTION__
V4L/DVB (7714): pvrusb2: Fix hang on module removal
V4L/DVB (7713): pvrusb2: Implement cleaner DVB kernel thread shutdown
V4L/DVB (7712): pvrusb2: Close connect/disconnect race
V4L/DVB (7711): pvrusb2: Fix race on module unload
V4L/DVB (7710): pvrusb2: Implement critical digital streaming quirk for onair devices
...
Diffstat (limited to 'drivers/media/video/cx88/cx88-tvaudio.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-tvaudio.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/drivers/media/video/cx88/cx88-tvaudio.c b/drivers/media/video/cx88/cx88-tvaudio.c index 76e5c78d8ae4..3a1977f41e27 100644 --- a/drivers/media/video/cx88/cx88-tvaudio.c +++ b/drivers/media/video/cx88/cx88-tvaudio.c | |||
@@ -53,15 +53,15 @@ | |||
53 | 53 | ||
54 | #include "cx88.h" | 54 | #include "cx88.h" |
55 | 55 | ||
56 | static unsigned int audio_debug = 0; | 56 | static unsigned int audio_debug; |
57 | module_param(audio_debug, int, 0644); | 57 | module_param(audio_debug, int, 0644); |
58 | MODULE_PARM_DESC(audio_debug, "enable debug messages [audio]"); | 58 | MODULE_PARM_DESC(audio_debug, "enable debug messages [audio]"); |
59 | 59 | ||
60 | static unsigned int always_analog = 0; | 60 | static unsigned int always_analog; |
61 | module_param(always_analog,int,0644); | 61 | module_param(always_analog,int,0644); |
62 | MODULE_PARM_DESC(always_analog,"force analog audio out"); | 62 | MODULE_PARM_DESC(always_analog,"force analog audio out"); |
63 | 63 | ||
64 | static unsigned int radio_deemphasis = 0; | 64 | static unsigned int radio_deemphasis; |
65 | module_param(radio_deemphasis,int,0644); | 65 | module_param(radio_deemphasis,int,0644); |
66 | MODULE_PARM_DESC(radio_deemphasis, "Radio deemphasis time constant, " | 66 | MODULE_PARM_DESC(radio_deemphasis, "Radio deemphasis time constant, " |
67 | "0=None, 1=50us (elsewhere), 2=75us (USA)"); | 67 | "0=None, 1=50us (elsewhere), 2=75us (USA)"); |
@@ -265,12 +265,12 @@ static void set_audio_standard_BTSC(struct cx88_core *core, unsigned int sap, | |||
265 | mode |= EN_FMRADIO_EN_RDS; | 265 | mode |= EN_FMRADIO_EN_RDS; |
266 | 266 | ||
267 | if (sap) { | 267 | if (sap) { |
268 | dprintk("%s SAP (status: unknown)\n", __FUNCTION__); | 268 | dprintk("%s SAP (status: unknown)\n", __func__); |
269 | set_audio_start(core, SEL_SAP); | 269 | set_audio_start(core, SEL_SAP); |
270 | set_audio_registers(core, btsc_sap); | 270 | set_audio_registers(core, btsc_sap); |
271 | set_audio_finish(core, mode); | 271 | set_audio_finish(core, mode); |
272 | } else { | 272 | } else { |
273 | dprintk("%s (status: known-good)\n", __FUNCTION__); | 273 | dprintk("%s (status: known-good)\n", __func__); |
274 | set_audio_start(core, SEL_BTSC); | 274 | set_audio_start(core, SEL_BTSC); |
275 | set_audio_registers(core, btsc); | 275 | set_audio_registers(core, btsc); |
276 | set_audio_finish(core, mode); | 276 | set_audio_finish(core, mode); |
@@ -351,16 +351,16 @@ static void set_audio_standard_NICAM(struct cx88_core *core, u32 mode) | |||
351 | set_audio_start(core,SEL_NICAM); | 351 | set_audio_start(core,SEL_NICAM); |
352 | switch (core->tvaudio) { | 352 | switch (core->tvaudio) { |
353 | case WW_L: | 353 | case WW_L: |
354 | dprintk("%s SECAM-L NICAM (status: devel)\n", __FUNCTION__); | 354 | dprintk("%s SECAM-L NICAM (status: devel)\n", __func__); |
355 | set_audio_registers(core, nicam_l); | 355 | set_audio_registers(core, nicam_l); |
356 | break; | 356 | break; |
357 | case WW_I: | 357 | case WW_I: |
358 | dprintk("%s PAL-I NICAM (status: known-good)\n", __FUNCTION__); | 358 | dprintk("%s PAL-I NICAM (status: known-good)\n", __func__); |
359 | set_audio_registers(core, nicam_bgdki_common); | 359 | set_audio_registers(core, nicam_bgdki_common); |
360 | set_audio_registers(core, nicam_i); | 360 | set_audio_registers(core, nicam_i); |
361 | break; | 361 | break; |
362 | default: | 362 | default: |
363 | dprintk("%s PAL-BGDK NICAM (status: known-good)\n", __FUNCTION__); | 363 | dprintk("%s PAL-BGDK NICAM (status: known-good)\n", __func__); |
364 | set_audio_registers(core, nicam_bgdki_common); | 364 | set_audio_registers(core, nicam_bgdki_common); |
365 | set_audio_registers(core, nicam_default); | 365 | set_audio_registers(core, nicam_default); |
366 | break; | 366 | break; |
@@ -600,28 +600,28 @@ static void set_audio_standard_A2(struct cx88_core *core, u32 mode) | |||
600 | set_audio_start(core, SEL_A2); | 600 | set_audio_start(core, SEL_A2); |
601 | switch (core->tvaudio) { | 601 | switch (core->tvaudio) { |
602 | case WW_BG: | 602 | case WW_BG: |
603 | dprintk("%s PAL-BG A1/2 (status: known-good)\n", __FUNCTION__); | 603 | dprintk("%s PAL-BG A1/2 (status: known-good)\n", __func__); |
604 | set_audio_registers(core, a2_bgdk_common); | 604 | set_audio_registers(core, a2_bgdk_common); |
605 | set_audio_registers(core, a2_bg); | 605 | set_audio_registers(core, a2_bg); |
606 | set_audio_registers(core, a2_deemph50); | 606 | set_audio_registers(core, a2_deemph50); |
607 | break; | 607 | break; |
608 | case WW_DK: | 608 | case WW_DK: |
609 | dprintk("%s PAL-DK A1/2 (status: known-good)\n", __FUNCTION__); | 609 | dprintk("%s PAL-DK A1/2 (status: known-good)\n", __func__); |
610 | set_audio_registers(core, a2_bgdk_common); | 610 | set_audio_registers(core, a2_bgdk_common); |
611 | set_audio_registers(core, a2_dk); | 611 | set_audio_registers(core, a2_dk); |
612 | set_audio_registers(core, a2_deemph50); | 612 | set_audio_registers(core, a2_deemph50); |
613 | break; | 613 | break; |
614 | case WW_I: | 614 | case WW_I: |
615 | dprintk("%s PAL-I A1 (status: known-good)\n", __FUNCTION__); | 615 | dprintk("%s PAL-I A1 (status: known-good)\n", __func__); |
616 | set_audio_registers(core, a1_i); | 616 | set_audio_registers(core, a1_i); |
617 | set_audio_registers(core, a2_deemph50); | 617 | set_audio_registers(core, a2_deemph50); |
618 | break; | 618 | break; |
619 | case WW_L: | 619 | case WW_L: |
620 | dprintk("%s AM-L (status: devel)\n", __FUNCTION__); | 620 | dprintk("%s AM-L (status: devel)\n", __func__); |
621 | set_audio_registers(core, am_l); | 621 | set_audio_registers(core, am_l); |
622 | break; | 622 | break; |
623 | default: | 623 | default: |
624 | dprintk("%s Warning: wrong value\n", __FUNCTION__); | 624 | dprintk("%s Warning: wrong value\n", __func__); |
625 | return; | 625 | return; |
626 | break; | 626 | break; |
627 | }; | 627 | }; |
@@ -637,7 +637,7 @@ static void set_audio_standard_EIAJ(struct cx88_core *core) | |||
637 | 637 | ||
638 | { /* end of list */ }, | 638 | { /* end of list */ }, |
639 | }; | 639 | }; |
640 | dprintk("%s (status: unknown)\n", __FUNCTION__); | 640 | dprintk("%s (status: unknown)\n", __func__); |
641 | 641 | ||
642 | set_audio_start(core, SEL_EIAJ); | 642 | set_audio_start(core, SEL_EIAJ); |
643 | set_audio_registers(core, eiaj); | 643 | set_audio_registers(core, eiaj); |
@@ -691,7 +691,7 @@ static void set_audio_standard_FM(struct cx88_core *core, | |||
691 | { /* end of list */ }, | 691 | { /* end of list */ }, |
692 | }; | 692 | }; |
693 | 693 | ||
694 | dprintk("%s (status: unknown)\n", __FUNCTION__); | 694 | dprintk("%s (status: unknown)\n", __func__); |
695 | set_audio_start(core, SEL_FMRADIO); | 695 | set_audio_start(core, SEL_FMRADIO); |
696 | 696 | ||
697 | switch (deemph) { | 697 | switch (deemph) { |