summaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorTakashi Iwai2019-03-22 15:51:36 +0100
committerTakashi Iwai2019-03-22 20:57:29 +0100
commit4fc90fb883fcb72d6bfbf84d554a3e820a05ef62 (patch)
treeae5dc16bdacbe8069ffea550e153a052051bd081 /sound/core
parentALSA: pcm: Fix possible OOB access in PCM oss plugins (diff)
downloadkernel-qcow2-linux-4fc90fb883fcb72d6bfbf84d554a3e820a05ef62.tar.gz
kernel-qcow2-linux-4fc90fb883fcb72d6bfbf84d554a3e820a05ef62.tar.xz
kernel-qcow2-linux-4fc90fb883fcb72d6bfbf84d554a3e820a05ef62.zip
ALSA: hda/ca0132 - Simplify alt firmware loading code
ca0132 codec driver loads the firmware selectively depending on the model in addition to the fallback of the default firmware. The code works good, but a minor problem is that the current code seems confusing for Clang where it spews a warning about uninitialized variable. This patch simplifies the code flow for such a false-positive warning. After this refactoring, the ca0132_spec.alt_firmware_present field is no longer used, hence it's eliminated as well. Reported-and-tested-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions