diff options
author | Tong Zhang <ztong0001@gmail.com> | 2020-08-25 01:45:41 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-08-25 10:27:49 +0300 |
commit | ee0761d1d8222bcc5c86bf10849dc86cf008557c (patch) | |
tree | ea3421cd3adf2e6a42895ca94af437d277a5b337 /mm | |
parent | 1e9eb5c0907600926b81b0ac8317e85f240e8e1c (diff) | |
download | linux-ee0761d1d8222bcc5c86bf10849dc86cf008557c.tar.xz |
ALSA: ca0106: fix error code handling
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@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200824224541.1260307-1-ztong0001@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions