]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - sound/soc/atmel/sam9g20_wm8731.c
ASoC: Add simplfied device registration for Atmel SSC devices
[net-next-2.6.git] / sound / soc / atmel / sam9g20_wm8731.c
index cf029a89ef764d7ffd4c2840b1478338fef428eb..293569dfd0edec6d70551d90e610a93bba74ad7f 100644 (file)
@@ -205,6 +205,12 @@ static int __init at91sam9g20ek_init(void)
        if (!(machine_is_at91sam9g20ek() || machine_is_at91sam9g20ek_2mmc()))
                return -ENODEV;
 
+       ret = atmel_ssc_set_audio(0);
+       if (ret != 0) {
+               pr_err("Failed to set SSC 0 for audio: %d\n", ret);
+               return ret;
+       }
+
        /*
         * Codec MCLK is supplied by PCK0 - set it up.
         */