diff options
author | Stefan Binding <[email protected]> | 2023-10-03 15:21:38 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2023-10-06 11:11:18 +0200 |
commit | 5d542b850d40cb08a38ad4bb2a944dbf1b7b0683 (patch) | |
tree | 479c7247d1541cb63ad7172704ff0231d3b406cf /drivers/usb/cdns3 | |
parent | 9c1a3f432b62a2b34f2f58cda0dcf7229e83bf98 (diff) |
ALSA: hda: cs35l41: Cleanup and fix double free in firmware request
There is an unlikely but possible double free when loading firmware,
and a missing free calls if a firmware is successfully requested but
the coefficient file request fails, leading to the fallback firmware
request occurring without clearing the previously loaded firmware.
Fixes: cd40dad2ca91 ("ALSA: hda: cs35l41: Ensure firmware/tuning pairs are always loaded")
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Stefan Binding <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3')
0 files changed, 0 insertions, 0 deletions