[alsa-devel] [PATCH 2/3] ASoC: uda1380: Fix missed uda1380_reset call if pdata->gpio_power is a valid gpio

Mark Brown broonie at opensource.wolfsonmicro.com
Sun Dec 4 14:02:34 CET 2011


On Sun, Dec 04, 2011 at 07:37:32PM +0800, Axel Lin wrote:
> Current code does not call uda1380_reset() in uda1380_probe() if
> pdata->gpio_power is a valid gpio. Fix it.

This doesn't look like a problem - what's happening is that when the
driver has control over the CODEC power it's powering it off which has
the effect of restoring the device to the power on defaults.  It only
needs to issue a reset if the device is powered up.


More information about the Alsa-devel mailing list