[alsa-devel] [RFC v1] tlv320aic32x4: delay i2c access by 1 ms after hardware reset

Mark Brown broonie at kernel.org
Mon Feb 11 16:04:25 CET 2019


On Sun, Feb 10, 2019 at 04:45:19PM +0100, Peter Seiderer wrote:

> @@ -972,6 +972,8 @@ static int aic32x4_component_probe(struct snd_soc_component *component)
>  		gpio_set_value(aic32x4->rstn_gpio, 1);
>  	}
>  
> +	mdelay(1);
> +

Perhaps only do this if we toggled the GPIO?  If the device wasn't in
reset then there's no need to wait.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20190211/e40af56c/attachment.sig>


More information about the Alsa-devel mailing list