diff options
author | 2023-11-17 16:36:08 +0000 | |
---|---|---|
committer | 2023-11-20 12:36:37 +0100 | |
commit | 37f67abe08557a79c3aabf684a49c6b99dbc259a (patch) | |
tree | 789c9c61061c434cd619b7bb10f618afbff0668e /sound/soc/codecs/cs35l41.c | |
parent | ALSA: hda - Fix speaker and headset mic pin config for CHUWI CoreBook XPro (diff) | |
download | linux-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