[alsa-devel] [PATCH 2/2] ASoC: ak4642: simultaneous playback/recorde support

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Oct 12 12:00:06 CEST 2010

On Tue, Oct 12, 2010 at 01:39:25PM +0900, Kuninori Morimoto wrote:

>  		ak4642_write(codec, 0x09, 0x91);
>  		ak4642_write(codec, 0x0c, 0x91);
> -		ak4642_write(codec, 0x00, 0x64);
> +		snd_soc_update_bits(codec, 0x00, 0x64, 0x64);

Applied, but given all the magic numbers this is pretty much illegible -
it'd be good if when updating the driver you could start to convert the
magic numbers into #defines.

More information about the Alsa-devel mailing list