sound: Allow audio codecs to be used by other SoCs
[oweals/u-boot.git] / drivers / sound / max98095.c
index 99c0e996b4fb47d94162a88e7b6c399b9abe64a7..9e08e96670e17e17c920cf6cf4791c0a2d14b63b 100644 (file)
 #include <i2c.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 "i2s.h"
 #include "max98095.h"
 
@@ -306,9 +302,6 @@ static int max98095_device_init(struct maxim_priv *priv)
        unsigned char id;
        int ret;
 
-       /* Enable codec clock */
-       set_xclkout();
-
        /* reset the codec, the DSP core, and disable all interrupts */
        ret = max98095_reset(priv);
        if (ret != 0) {