diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-07-21 00:28:01 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-07-21 00:32:25 +0200 |
commit | d364a600d6ed9cd78744031a36627d21a6deaefd (patch) | |
tree | acb5bd7d78f43ea1cd436733d550d3f29689ce57 /sound/isa | |
parent | ALSA: als300: Fix missing chip initialization (diff) | |
download | linux-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