On Tue, Jan 26, 2010 at 02:51:41PM +0900, [email protected] wrote:
> From: Jassi Brar <[email protected]>
> 
> Implementing basic support for Playback/Capture by SMDK's AC97
> controller with WM9713 codec, this patch adds the ALSA machine
> driver for AC97 device.

Might be better to split this into an arch/arm patch and a sound/soc
patch - they don't appear to depend on each other so it'd ease merging.

> +static int smdk_hifi_hw_params(struct snd_pcm_substream *substream,
> +                             struct snd_pcm_hw_params *params)
> +{
> +     /* CAPTURE - Stereo LineIn
> +      * Currently there is no other way to change ACLink-In slots
> +      * of Wm9713, so we make do with this call.
> +      */
> +     /* Slots-3,4*/
> +     soc_ac97_ops.write(NULL, 0x5c, 0);
> +
> +     return 0;
> +}

This one needs a bit more explanation - why are you changing the AC97
slot?  Is this a general problem with the S3C AC97 controller?  It'd
also be better to use the symbolic register name rather than a number.
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to