mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 12:06:42 +07:00
ALSA: hda/ca0132 - Fix another smatch warning
sound/pci/hda/patch_ca0132.c:1781 dspxfr_one_seg() info: why not propagate 'status' from dsp_dma_stop() instead of (-5)? Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
b645d79619
commit
425a7880e8
@ -2325,7 +2325,7 @@ static int dspxfr_one_seg(struct hda_codec *codec,
|
||||
if (!comm_dma_setup_done) {
|
||||
status = dsp_dma_stop(codec, dma_chan, ovly);
|
||||
if (status < 0)
|
||||
return -EIO;
|
||||
return status;
|
||||
status = dsp_dma_setup_common(codec, chip_addx,
|
||||
dma_chan, port_map_mask, ovly);
|
||||
if (status < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user