Re: [alsa-devel] [PATCHv3 1/3] ASoC: codec: Simplify ASoC probe code.

From: Lars-Peter Clausen
Date: Mon Mar 10 2014 - 02:57:13 EST


On 03/10/2014 04:51 AM, Li.Xiubo@xxxxxxxxxxxxx wrote:
Subject: Re: [PATCHv3 1/3] ASoC: codec: Simplify ASoC probe code.

On Mon, Mar 03, 2014 at 07:24:36AM +0000, Li.Xiubo@xxxxxxxxxxxxx wrote:

/* Default to using ALC auto offset calibration mode. */
snd_soc_update_bits(codec, DA7213_ALC_CTRL1,
DA7213_ALC_CALIB_MODE_MAN, 0);

This one will fail.

Sorry, I'm not very understand why will this fail ? Before the ASoC probe,
the ASoC core will set the I/O.
:)

OK, that's now been refactored.

@Mark, @Lars,

Has there any other problems about this patch series? And this I had tested on
our Vybrid-Twr board based on SGTL5000 codec and SAI drivers. If not, I can
continue with my second patches series about " Remove set_cache_io entirely from
ASoC probe".

Thanks very much.



It looks good to me.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/