arch: m68k: Use existing CONFIG_MCFTMR instead of CFG_MCFTMR
[platform/kernel/u-boot.git] / drivers / sound / samsung_sound.c
index 1d711c8..473cedf 100644 (file)
@@ -8,8 +8,10 @@
 #include <audio_codec.h>
 #include <dm.h>
 #include <i2s.h>
+#include <log.h>
 #include <sound.h>
 #include <asm/gpio.h>
+#include <asm/arch/power.h>
 
 static int samsung_sound_setup(struct udevice *dev)
 {
@@ -79,6 +81,9 @@ static int samsung_sound_probe(struct udevice *dev)
        debug("Probed sound '%s' with codec '%s' and i2s '%s'\n", dev->name,
              uc_priv->codec->name, uc_priv->i2s->name);
 
+       /* Enable codec clock */
+       set_xclkout();
+
        return 0;
 }
 
@@ -89,7 +94,7 @@ static const struct sound_ops samsung_sound_ops = {
 
 static const struct udevice_id samsung_sound_ids[] = {
        { .compatible = "google,snow-audio-max98095" },
-       { .compatible = "google,spring-audio-max98095" },
+       { .compatible = "google,spring-audio-max98088" },
        { .compatible = "samsung,smdk5420-audio-wm8994" },
        { .compatible = "google,peach-audio-max98090" },
        { }