sound: Allow audio codecs to be used by other SoCs
[oweals/u-boot.git] / drivers / sound / max98088.c
index 08f0bf861e335423eb9c79d37e5338ad9ddb1ae6..332254d5aa57bb0aa2130464c8ec821403c861b5 100644 (file)
 #include <i2s.h>
 #include <sound.h>
 #include <asm/gpio.h>
-#include <asm/io.h>
-#include <asm/arch/clk.h>
-#include <asm/arch/cpu.h>
-#include <asm/arch/power.h>
 #include "maxim_codec.h"
 #include "max98088.h"
 
@@ -288,9 +284,6 @@ static int max98088_device_init(struct maxim_priv *priv)
        unsigned char id;
        int error = 0;
 
-       /* Enable codec clock */
-       set_xclkout();
-
        /* reset the codec, the DSP core, and disable all interrupts */
        error = max98088_reset(priv);
        if (error != 0) {