aboutsummaryrefslogtreecommitdiffstats
path: root/sound/isa
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-07-21 00:28:01 +0200
committerTakashi Iwai <tiwai@suse.de>2021-07-21 00:32:25 +0200
commitd364a600d6ed9cd78744031a36627d21a6deaefd (patch)
treeacb5bd7d78f43ea1cd436733d550d3f29689ce57 /sound/isa
parentALSA: als300: Fix missing chip initialization (diff)
downloadlinux-dev-d364a600d6ed9cd78744031a36627d21a6deaefd.tar.xz
linux-dev-d364a600d6ed9cd78744031a36627d21a6deaefd.zip
ALSA: korg1212: Fix wrongly shuffled firmware loader code
The recent change for the devres introduced the wrong code shuffling in the korg1212 firmware loader function that may lead to a bad pointer access. Restore the calls in the right order (and put back the release_firmware() call in the error path, too). Fixes: b5cde369b618 ("ALSA: korg1212: Allocate resources with device-managed APIs") Reported-by: Nathan Chancellor <nathan@kernel.org> Link: https://lore.kernel.org/r/s5heebsoc26.wl-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa')
0 files changed, 0 insertions, 0 deletions