ALSA: cs35l41: Fix for old systems which do not support command
authorStefan Binding <sbinding@opensource.cirrus.com>
Fri, 17 Nov 2023 16:36:09 +0000 (16:36 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Nov 2023 11:37:01 +0000 (12:37 +0100)
commitd04ce4113cb4e5c2deddcb161db42a25917f285f
treef92352bb32df7da73df137e080e621c1b64de685
parent37f67abe08557a79c3aabf684a49c6b99dbc259a
ALSA: cs35l41: Fix for old systems which do not support command

Some older laptops using cs35l41 use firmware which does not support
the CSPL_MBOX_CMD_SPK_OUT_ENABLE command.
Firmware versions v0.28.0 and older do not support this command.

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-3-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/cs35l41.h
sound/pci/hda/cs35l41_hda.c
sound/soc/codecs/cs35l41-lib.c
sound/soc/codecs/cs35l41.c