ALSA: hda: cs35l41: Clean up Firmware Load Controls
authorStefan Binding <sbinding@opensource.cirrus.com>
Tue, 6 Jun 2023 10:34:34 +0000 (11:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 6 Jun 2023 12:32:04 +0000 (14:32 +0200)
commit448425f05b16f124290ad82b836c04da63b63035
tree646f07e29470e31c2c4db0c114c69065fa7a7f72
parent1a764994102b150a3b9b965a33c76c2d11ff2f34
ALSA: hda: cs35l41: Clean up Firmware Load Controls

Ensure Firmware Load control and Firmware Type control
returns 1 when the value changes.

Remove fw_mutex from firmware load control put, since it is
unnecessary, and prevents any possibility of mutex inversion.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230606103436.455348-2-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/cs35l41_hda.c