diff options
| author | Tong Zhang <ztong0001@gmail.com> | 2020-08-24 18:45:41 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-12 11:45:31 +0200 |
| commit | 0715ed8cabd55905f9e817600a73d56d7add3000 (patch) | |
| tree | f76bdee93b4dbeadcfe51638400755c4ed084cfb /net/lapb/lapb_out.c | |
| parent | 46e6bd5d8d498ecb3cfeeeaffd69be4e069cab17 (diff) | |
ALSA: ca0106: fix error code handling
commit ee0761d1d8222bcc5c86bf10849dc86cf008557c upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions
