[PATCH] ALSA: ca0106: fix error code handling

Takashi Iwai tiwai at suse.de
Tue Aug 25 09:27:44 CEST 2020


On Tue, 25 Aug 2020 00:45:41 +0200,
Tong Zhang wrote:
> 
> snd_ca0106_spi_write() returns 1 on error, snd_ca0106_pcm_power_dac()
> is returning the error code directly, and the caller is expecting an
> negative error code
> 
> Signed-off-by: Tong Zhang <ztong0001 at gmail.com>

Thanks, applied with Cc to stable.


Takashi


More information about the Alsa-devel mailing list