]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda: cs35l56: Fail if wmfw file is missing
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Thu, 9 Jul 2026 16:12:06 +0000 (17:12 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Jul 2026 10:03:48 +0000 (12:03 +0200)
commit07ae060d35900977a93d4a05ec995b06c85c2552
treeb11f090c72bf4daafbee1e237cc21a355d4d6fc1
parent93b47e66cc6d6c6382d44b44f5e7f6fc3a7b38c3
ALSA: hda: cs35l56: Fail if wmfw file is missing

Fail cs35l56_hda_fw_load() and log an error if it didn't find a wmfw file
and the BIOS didn't patch the firmware already. Also remove a section of
code from cs35l56_hda_request_firmware_files() that attempted to find a
.bin if a .wmfw was not found.

The CS35L56 ROM can only provide default audio in SoundWire mode. A wmfw
is needed to enable I2S audio. Also none of the customer-specific .bin
files are compatible with the ROM firmware. So a .wmfw file is always
required.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20260709161211.686498-1-rf@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/side-codecs/cs35l56_hda.c