diff options
author | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2023-04-22 18:10:21 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-04-23 09:22:00 +0200 |
commit | 14a2956539b0620d3b7369af75ddc73f18852835 (patch) | |
tree | 75322dc1a39488fc46847fd73c8338ddfb74b8cf /sound/pci/emu10k1/memory.c | |
parent | dad173035ed6b3ba45b5f3923908f09093964900 (diff) | |
download | lwn-14a2956539b0620d3b7369af75ddc73f18852835.tar.gz lwn-14a2956539b0620d3b7369af75ddc73f18852835.zip |
ALSA: emu10k1: fix error handling in snd_audigy_i2c_volume_put()
Check all inputs before changing anything, and return the right error
code in case of failure.
Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230422161021.1144026-1-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/emu10k1/memory.c')
0 files changed, 0 insertions, 0 deletions