aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs35l41.c
diff options
context:
space:
mode:
authorGravatar Stefan Binding <sbinding@opensource.cirrus.com> 2023-11-17 16:36:08 +0000
committerGravatar Takashi Iwai <tiwai@suse.de> 2023-11-20 12:36:37 +0100
commit37f67abe08557a79c3aabf684a49c6b99dbc259a (patch)
tree789c9c61061c434cd619b7bb10f618afbff0668e /sound/soc/codecs/cs35l41.c
parentALSA: hda - Fix speaker and headset mic pin config for CHUWI CoreBook XPro (diff)
downloadlinux-37f67abe08557a79c3aabf684a49c6b99dbc259a.tar.gz
linux-37f67abe08557a79c3aabf684a49c6b99dbc259a.tar.bz2
linux-37f67abe08557a79c3aabf684a49c6b99dbc259a.zip
ALSA: hda: cs35l41: Remove unnecessary boolean state variable firmware_running
This state duplicates the running state inside cs_dsp, so is not necessary. Remove it, and use cs_dsp.running instead. This brings the CS35L41 HDA driver more inline with its ASoC version, allowing the same state to be used when calling library functions. Fixes: fa3efcc36aac ("ALSA: cs35l41: Use mbox command to enable speaker output for external boost") Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com> Link: https://lore.kernel.org/r/20231117163609.823627-2-sbinding@opensource.cirrus.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/codecs/cs35l41.c')
0 files changed, 0 insertions, 0 deletions