diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2014-05-29 12:51:44 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-05-30 04:11:55 -0400 |
commit | 55d0cc2998dac3714991d8d031c4a60d14917efb (patch) | |
tree | a243180988cf40fbc2c6784aa56a6b4e359a0cde /sound/oss | |
parent | 532895c58c225c23566c94fa61d78498973c738e (diff) |
sound: remove checks for CONFIG_BCM_CS4297A_CSWARM
Checks for CONFIG_BCM_CS4297A_CSWARM were added in v2.6.11. The related
Kconfig symbol was never added so these checks always evaluated to true.
Remove them.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/oss')
-rw-r--r-- | sound/oss/swarm_cs4297a.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/oss/swarm_cs4297a.c b/sound/oss/swarm_cs4297a.c index f851fd0e199c..a33e8ce8085b 100644 --- a/sound/oss/swarm_cs4297a.c +++ b/sound/oss/swarm_cs4297a.c | |||
@@ -2625,15 +2625,12 @@ static int __init cs4297a_init(void) | |||
2625 | u32 pwr, id; | 2625 | u32 pwr, id; |
2626 | mm_segment_t fs; | 2626 | mm_segment_t fs; |
2627 | int rval; | 2627 | int rval; |
2628 | #ifndef CONFIG_BCM_CS4297A_CSWARM | ||
2629 | u64 cfg; | 2628 | u64 cfg; |
2630 | int mdio_val; | 2629 | int mdio_val; |
2631 | #endif | ||
2632 | 2630 | ||
2633 | CS_DBGOUT(CS_INIT | CS_FUNCTION, 2, printk(KERN_INFO | 2631 | CS_DBGOUT(CS_INIT | CS_FUNCTION, 2, printk(KERN_INFO |
2634 | "cs4297a: cs4297a_init_module()+ \n")); | 2632 | "cs4297a: cs4297a_init_module()+ \n")); |
2635 | 2633 | ||
2636 | #ifndef CONFIG_BCM_CS4297A_CSWARM | ||
2637 | mdio_val = __raw_readq(KSEG1 + A_MAC_REGISTER(2, R_MAC_MDIO)) & | 2634 | mdio_val = __raw_readq(KSEG1 + A_MAC_REGISTER(2, R_MAC_MDIO)) & |
2638 | (M_MAC_MDIO_DIR|M_MAC_MDIO_OUT); | 2635 | (M_MAC_MDIO_DIR|M_MAC_MDIO_OUT); |
2639 | 2636 | ||
@@ -2659,7 +2656,6 @@ static int __init cs4297a_init(void) | |||
2659 | __raw_writeq(mdio_val | M_MAC_GENC, KSEG1+A_MAC_REGISTER(2, R_MAC_MDIO)); | 2656 | __raw_writeq(mdio_val | M_MAC_GENC, KSEG1+A_MAC_REGISTER(2, R_MAC_MDIO)); |
2660 | /* Give the codec some time to finish resetting (start the bit clock) */ | 2657 | /* Give the codec some time to finish resetting (start the bit clock) */ |
2661 | udelay(100); | 2658 | udelay(100); |
2662 | #endif | ||
2663 | 2659 | ||
2664 | if (!(s = kzalloc(sizeof(struct cs4297a_state), GFP_KERNEL))) { | 2660 | if (!(s = kzalloc(sizeof(struct cs4297a_state), GFP_KERNEL))) { |
2665 | CS_DBGOUT(CS_ERROR, 1, printk(KERN_ERR | 2661 | CS_DBGOUT(CS_ERROR, 1, printk(KERN_ERR |