Re: [PATCH 01/16] ASoC: soc-component: merge snd_soc_component_read() and snd_soc_component_read32()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 16, 2020 at 02:19:41PM +0900, Kuninori Morimoto wrote:

> -	snd_soc_component_read(component, PW_MGMT1, &mgmt1);
> -	snd_soc_component_read(component, PW_MGMT3, &mgmt3);
> +	mgmt1 = snd_soc_component_read(component, PW_MGMT1);
> +	mgmt3 = snd_soc_component_read(component, PW_MGMT3);

It's a bit sad that we're loosing the possibility of error handling with
this stuff, but OTOH looking at how much useful error handling we're
actually doing here it's hard to argue that it's much of a loss.  Ho
hum.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux