diff options
Diffstat (limited to 'sound/oss/swarm_cs4297a.c')
-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 |