summaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
16 hoursMerge tag 'asoc-fix-v7.4-rc4' of ↵Takashi Iwai
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus ASoC: Fixes for v7.4 A fairly big but mostly routine pile of driver specific fixes and quirks for v7.4. The new Tegra support is the biggest thing here, it's all data required by the newly added device, there's no real code in there so while it was on the edge of getting applied for v7.5 it seemed fine here.
33 hoursASoC: amd: yc: Add DMI quirk for HP 255R G10 (board 8D22)Alen Tišljar
The HP 255R 15.6 inch G10 Notebook PC (board 8D22, Ryzen 7 7735U) has an internal DMIC connected to the ACP6x. Without a quirk entry the acp6x machine driver doesn't register a card and the internal microphone doesn't work. Add a DMI entry for the board to enable it. Signed-off-by: Alen Tišljar <alen.tisljar@gmail.com> Reviewed-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Link: https://patch.msgid.link/20261124182329.20428-1-alen.tisljar@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
34 hoursASoC: aw88399: fix register used to disable I2S TXMarco Giunta
aw_dev_i2s_tx_enable() uses I2SCTRL3 when enabling the I2S transmitter but I2SCFG1 when disabling it. Per the datasheet, the I2STXEN bit lives in I2SCTRL3. As a result, the I2S transmitter is never disabled when the device is stopped. Use I2SCTRL3 in both cases, as the vendor Android driver (aw883xx) and aw88166 (which is also derived from aw883xx) do. Fixes: 8ade6cc7e261 ("ASoC: codecs: Add aw88399 amplifier driver") Signed-off-by: Marco Giunta <marco_giunta@outlook.it> Link: https://patch.msgid.link/SN6PR19MB23038B66A212CA32A4B6B3CCFC472@SN6PR19MB2303.namprd19.prod.outlook.com Signed-off-by: Mark Brown <broonie@kernel.org>
38 hoursALSA: pcm: oss: Refine slave hw_params after setting formatHengyu Liang
Commit 93d7d38fa61d ("ALSA: aloop: add DSD formats") added DSD_U8 to the formats of snd-aloop. Before that, its narrowest format had 16 bits. However, snd_pcm_oss_change_params_locked() sets the slave format with _snd_pcm_hw_param_set(), which does not refine the parameters, while the access, rate and channels before it are set with refining helpers. snd_pcm_oss_period_size() then reads a buffer size maximum that is still computed for the narrowest format, now DSD_U8, so the OSS period doubles. With the default U8 client format, the doubled period no longer fits in the format plugin, and snd_pcm_plugin_alloc() returns -ENOMEM. As of now, an OSS program that asks snd-aloop for 8 channels at 192 kHz gets ENOMEM from SNDCTL_DSP_SPEED and from every later ioctl on the same file. The issue can be reproduced with this program, where card 1 is snd-aloop: #include <fcntl.h> #include <stdio.h> #include <sys/ioctl.h> #include <sys/soundcard.h> int main(void) { int fd = open("/dev/dsp1", O_WRONLY | O_NONBLOCK); int ch = 8, rate = 192000, blk = 0; ioctl(fd, SNDCTL_DSP_CHANNELS, &ch); if (ioctl(fd, SNDCTL_DSP_SPEED, &rate) < 0) perror("SNDCTL_DSP_SPEED"); if (ioctl(fd, SNDCTL_DSP_GETBLKSIZE, &blk) < 0) perror("SNDCTL_DSP_GETBLKSIZE"); printf("block size %d\n", blk); return 0; } Before that commit, it prints "block size 65536". After that commit, the result is: SNDCTL_DSP_SPEED: Cannot allocate memory SNDCTL_DSP_GETBLKSIZE: Cannot allocate memory block size 0 This patch will set the format with snd_pcm_hw_param_set(), which refines the parameters, as is done for the channels just before. Fixes: 93d7d38fa61d ("ALSA: aloop: add DSD formats") Cc: <stable@vger.kernel.org> Signed-off-by: Hengyu Liang <hengyul@cs.unc.edu> Link: https://patch.msgid.link/20261125181005.3683575-1-hengyul@cs.unc.edu Signed-off-by: Takashi Iwai <tiwai@suse.de>
38 hoursALSA: timer: Protect the slave instance flags with the timer lockRongen Wang
snd_timer_start_slave() and snd_timer_stop_slave() set and clear SNDRV_TIMER_IFLG_RUNNING in timeri->flags while holding only timeri_lock. For a slave that is linked to a master, the interrupt path updates the same word under timer->lock: snd_timer_process_callbacks() sets SNDRV_TIMER_IFLG_CALLBACK before it calls the instance callback and clears it afterwards. Both sides do a plain read-modify-write, so when they overlap one of the two updates is lost. If the set of SNDRV_TIMER_IFLG_CALLBACK is lost, snd_timer_close_locked() does not wait for the callback that is still running, the owner frees the instance, and the interrupt path clears the flag in the freed object: BUG: KASAN: slab-use-after-free in snd_timer_process_callbacks+0x269/0x2b0 Read of size 4 at addr ffff888007e5cc10 by task poc/90 snd_timer_process_callbacks+0x269/0x2b0 snd_timer_interrupt+0x7b8/0x1100 snd_utimer_ioctl+0x7c/0xb0 Freed by task 91: kfree+0x127/0x3b0 __snd_timer_user_ioctl.isra.0+0xe93/0x28f0 If the clear is lost instead, the flag stays set: the instance gets no further callbacks, and closing it spins in the drain loop of snd_timer_close_locked() with register_mutex held, which blocks every other open and close of an ALSA timer. Take timer->lock around the whole flag update of a linked slave, as snd_timer_start1() and snd_timer_stop1() do for master instances. The callers hold timeri_lock, so timeri->timer is stable, and the lock order is the one these functions already use. A slave that is not linked to a master cannot be reached from any timer and needs no additional protection. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Cc: stable@vger.kernel.org Signed-off-by: Rongen Wang <security@nitrohex.com> Link: https://patch.msgid.link/20261126-alsa-timer-slave-flags-v2-1-8e07a536fea3@nitrohex.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
2 daysALSA: usb-audio: Don't queue playback URBs after stopTakashi Iwai
Although we've tried to address the corrupted ready_list for the playback URBs due to the concurrent start/stop of streams, there seems still a slight race: namely, in snd_complete_urb(), the driver checks the EP check via ep_state_running() and process push_back_to_ready_list() only when the EP isn't stopped. But since the EP state change can still happen between the EP state check and push_back_to_ready_list(), push_back_to_ready_list() may queue the URBs unexpectedly even after the EP gets stopped. This may result in a list corruption when the stream is restarted. The addition to the list itself is properly protected by a lock, so as a stop-gap, just add the EP state check again before actually adding to the list. In a long-term, we should reorganize the code to cover the EP state changes more consistently, but this should suffice for the particular race, at least. Reported-by: Miloslav Brada <email@miloslavbrada.cz> Closes: https://lore.kernel.org/awZs88beIhMcOchv@genesis.transkript.cz Cc: <stable@vger.kernel.org> Link: https://patch.msgid.link/20261125141057.2094719-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
2 daysALSA: oss: Fix deadlock at unregistering (again)Takashi Iwai
The recent code refactoring using guard() re-introduced a potential deadlock at unregistering OSS device that had been fixed onceby the commit 97d917879d7f ("ALSA: oss: Fix potential deadlock at unregistration"). The unregister_sound_special() call must be done outside the sound_oss_mutex. Fix the regression by changing guard() with scoped_guard() to limit the range. Fixes: 742ecf3ce1ac ("ALSA: core: Use guard() for locking") Cc: <stable@vger.kernel.org> Link: https://patch.msgid.link/20261125135453.2088984-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
2 daysALSA: hda/realtek: Add quirk for Infinix BL51A7Hsandrees2007-ctrl
The Infinix BL51A7H (Realtek ALC233, SSID 2782:a24a) has its internal speakers wired to pin 0x1b, but the BIOS pin configuration reports the speaker on 0x14 and leaves 0x1b disabled. As a result the analog output is silent. Apply the existing ALC233_FIXUP_MEDION_MTL_SPK quirk, which maps pin 0x1b as an internal speaker. The same quirk is already used for the related Colorful L1 Plus (2782:a248) and Medion E15443 (2782:4900). Tested on the Infinix BL51A7H: the internal speakers work after the quirk. Signed-off-by: sandrees2007-ctrl <sandrees2007@gmail.com> Link: https://patch.msgid.link/20261124132641.79890-1-sandrees2007@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
3 daysALSA: hda/realtek: Fix distorted headphone audio on Acer Predator PHN16-71SungHwan Jung
On the Acer Predator PHN16-71, booting with headphones already plugged into the 3.5mm jack results in distorted headphone audio until the headphones are unplugged and replugged. Vendor COEF 0x4a reads 0x2010 when the distortion occurs, meaning that the Reset HP JD bit (BIT(15)) is already clear. Clearing the bit alone doesn't fix the issue. Add a dedicated fixup (ALC245_FIXUP_ACER_HP_JD_RESET) that sets and then clears COEF 0x4a BIT(15) during HDA_FIXUP_ACT_INIT while preserving the remaining coefficient bits. Chain ALC245_FIXUP_ACER_MICMUTE_LED to retain mic mute LED and headset microphone support. Testing confirmed that pulsing COEF 0x4a BIT(15) restores clean headphone audio. LLMs were used to assist in analyzing the cause of the headphone audio distortion and refining the commit message. Signed-off-by: SungHwan Jung <onenowy@gmail.com> Link: https://patch.msgid.link/20261125081636.4619-1-onenowy@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
3 daysALSA: usb-audio: Add generic implicit feedback quirk for Elgato Wave:3Dennis Rijsdijk
The Elgato Wave:3 (0fd9:0070) records digital silence from its microphone when capture is started while playback to its headphone jack is already running. Starting capture first works. With PipeWire this makes the microphone go silent when an application starts recording while audio is playing. The Elgato XLR Dock had the same problem and was fixed by enforcing the generic implicit feedback mode. The same flag fixes the Wave:3: with it, capture returns audio in both start orders. One case remains at 96 kHz, which the device advertises but Elgato's specifications do not list (only 48 kHz): when playback starts first right after the device ran at 48 kHz, capture is still occasionally silent (2 of 10 tries, against every try without the flag). At a steady rate, and at 48 kHz in all cases tried, it did not happen. Add a quirk entry for the device. The patch and this description were prepared with an AI coding assistant (Claude Code, Claude Opus 5.5); I reproduced the problem and tested the fix on the device. Link: https://lore.kernel.org/all/CAOUQ8cqoTYm-0xeh1jk6bPo7Qd81+rFBz+my-ByMudzZ_6E0wQ@mail.gmail.com/ Signed-off-by: Dennis Rijsdijk <hello@dennis.gg> Link: https://patch.msgid.link/20261124-b4-implicit-fb-v1-1-99c0526a01f0@dennis.gg Signed-off-by: Takashi Iwai <tiwai@suse.de>
3 daysASoC: aw88166: fix backup restoring the RE value instead of saving itMarco Giunta
aw_dev_backup_sec_record() saves the VCALB and RE values so that aw_dev_backup_sec_recovery() can restore them later. However, it passes AW88166_RECOVERY_SEC_DATA for RE, so instead of reading ACR1/ACR2 it writes the stored value back to them. Pass AW88166_RECORD_SEC_DATA instead, as the vendor aw883xx driver does. Fixes: 94e412c28e61 ("ASoC: codecs: Add aw88166 amplifier driver") Signed-off-by: Marco Giunta <marco_giunta@outlook.it> Link: https://patch.msgid.link/SN6PR19MB230389321D29F0C88582B4F6FC452@SN6PR19MB2303.namprd19.prod.outlook.com Signed-off-by: Mark Brown <broonie@kernel.org>
3 daysASoC: amd: acp: Add Lenovo IdeaPad Slim 5 16AKP10 to ACP70 override tableMarkus Paltian
The internal mic of the Lenovo IdeaPad Slim 5 16AKP10 (83HY) is wired to the Conexant SN6140 HDA codec, but the BIOS still sets the ACP ACPI config flag. Add 83HY to the override table, as for the Lenovo models 83W5, 83V9, 83HN and 83Q6. Signed-off-by: Markus Paltian <paltian@gmx.de> Link: https://patch.msgid.link/20261123213153.51026-1-paltian@gmx.de Signed-off-by: Mark Brown <broonie@kernel.org>
3 daysASoC: amd: yc: Enable DMIC on MSI Crosshair A18 HX A8WGKGJames X. Nelson
On the MSI Crosshair A18 HX A8WGKG (MS-184L), the ACP6x PCI function binds and the DMIC platform devices are created, but the machine driver does not register the capture card through the firmware detection path. Add an exact DMI match so the existing ACP6x machine driver exposes the internal microphone on this model, without affecting other MSI models. Tested on an A8WGKG, board MS-184L, BIOS E184LAMS.10B with Ubuntu OEM 7.3.0-1004-oem. The patched module logged "Enabling ACP DMIC support via DMI", and ALSA enumerated the DMIC capture device. After WirePlumber reprobed the audio card, speech from the built-in microphone was captured in Google Meet. ChatGPT/Codex helped diagnose the driver binding failure and draft the quirk and this changelog. The submitter performed the live microphone test. Link: https://bugs.launchpad.net/bugs/2175499 Signed-off-by: James X. Nelson <James@WeTheInter.net> Link: https://patch.msgid.link/20261122034611.26008-1-James@WeTheInter.net Signed-off-by: Mark Brown <broonie@kernel.org>
3 daysALSA: hda/realtek: Add quirk for HP Pavilion 15-cs3xxxArshdeep Singh
The HP Pavilion 15-cs3006tx (ALC295, subsystem 103c:86e2) has no working mute LED by default. Booting with model=hp-mute-led-mic3 makes the LED work on this machine, so add a quirk entry for this SSID that applies the same fixup, ALC269_FIXUP_HP_MUTE_LED_MIC3. Testing: verified on the hardware with model=hp-mute-led-mic3, which selects the same fixup as this entry. alc269.o builds and checkpatch.pl --strict is clean. I have not booted a kernel built with this patch. Tooling: the working model option was found by manual testing, guided by an AI chat assistant (Claude). The table entry and this changelog were prepared with a coding agent (OpenAI Codex); I reviewed both. Signed-off-by: Arshdeep Singh <chahalarsh342@gmail.com> Link: https://patch.msgid.link/20261124132056.57345-1-chahalarsh342@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
3 daysALSA: hda/realtek: Fix regression on another Lenovo Legion 16IRX9H modelTakashi Iwai
There is yet another Lenovo Legion 16IRX9H model with the codec SSID 17aa:38cb that suffers from the same regression as stated in the commit 0b4d69e8d2b5 ("ALSA: hda/realtek: Fix regression on Lenovo Legion 16IRX9H"). Cover this device in the same way, too. Fixes: f2293e7b2ddd ("ALSA: hda/realtek: Enable all four speaker amps on Lenovo ThinkBook X G2 IAH") Cc: <stable@vger.kernel.org> Reported-by: Edward Bentall <bentallea@gmail.com> Closes: https://lore.kernel.org/CACw1+JLf_0i+GvJ4POkFUrPo_AWNHp9X2aCxyQVFRcdrKbKVxQ@mail.gmail.com Link: https://patch.msgid.link/20261124125606.570355-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
3 daysALSA: hda/realtek: Fix duplicate LEDs on HP Spectre x360 16-f2xxxAbhiraj Dutta
The EU0XXX fixup already sets up the mute and mic-mute LEDs, so chaining ALC245_FIXUP_HP_X360_MUTE_LEDS after it registers both LEDs twice (hda::mute_1 and hda::micmute_1 appear). Use the EU0XXX fixup directly. The original commit message also got the SSID wrong: under SOF the PCI SSID is 103c:891e, not 103c:0000. Fixes: e30ec632e1f0 ("ALSA: hda/realtek: Add quirk for HP Spectre x360 2-in-1 Laptop 16-f2xxx") Cc: stable@vger.kernel.org Signed-off-by: Abhiraj Dutta <abhirajdutta7@gmail.com> Link: https://patch.msgid.link/20261123-hp-spectre-16-f2-led-fix-v1-1-a2a333dceeb5@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
3 daysALSA: usb-audio: Enable native DSD for iBasso MacaronSophiel Zhou
The iBasso Macaron (USB ID 262a:1a0b) exposes a UAC2 RAW_DATA playback altsetting (altset 4, bmFormats 0x80000000, 32-bit subslot), but ALSA reports it as SPECIAL without the DSD_RAW quirk, preventing native DSD playback. Add the device to the quirk flags table with QUIRK_FLAG_DSD_RAW. This makes the altsetting available as DSD_U32_BE. Tested with quirk_flags=262a:1a0b:dsd_raw and with the quirk enabled through the device table entry. DSD256 playback works. Signed-off-by: Sophiel Zhou <sophiel@zzy040330.moe> Link: https://patch.msgid.link/20261124090051.37375-1-sophiel@zzy040330.moe Signed-off-by: Takashi Iwai <tiwai@suse.de>
3 daysALSA: hda/realtek: Fix mic mute LED on Acer Predator PHN16-71SungHwan Jung
The mic mute LED on the Acer Predator PHN16-71 does not work and remains off regardless of the microphone mute state. Switch the existing quirk to ALC245_FIXUP_ACER_MICMUTE_LED, which includes the existing headset mic fixup and also fixes the mic mute LED. Fixes: d54c3cc224da ("ALSA: hda/realtek: Add quirk for Acer Predator PHN16-71") Signed-off-by: SungHwan Jung <onenowy@gmail.com> Link: https://patch.msgid.link/20261124094923.36856-1-onenowy@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 daysASoC: SOF: control: reject out-of-range enum valuesArnav Kapoor
snd_sof_enum_put() passes the item indexes from user space to the IPC enum_put() op unchecked, and the IPC3 and IPC4 ops store them as they are and send them to the DSP. With the IPC4 sof-hda-generic-2ch.tplg on a Tiger Lake laptop, "Dmic0 Capture TDFB angle set enum" has 13 items but accepts 13 and 0xffffffff, and reads them back. The ALSA mixer-test selftest reports this as a write_invalid failure. Reject indexes past the last item, as snd_soc_put_enum_double() does. Fixes: c3078f539704 ("ASoC: SOF: Add Sound Open Firmware KControl support") Signed-off-by: Arnav Kapoor <kapoorarnav43@gmail.com> Link: https://patch.msgid.link/20261118103129.113970-1-kapoorarnav43@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
4 daysASoC: fsl_asrc/fsl_easrc: fix memory safety issuesMark Brown
Stefan Ghetu <stefan.ghetu@nxp.com> says: This series fixes memory safety issues in the ASRC and EASRC drivers that can be triggered by a user with access to their PCM or compress devices: 1. fsl_asrc_m2m: the output FIFO drain can write past the end of the output buffer. 2. fsl_asrc: a repeated hw_params() leaves a stale asrc->pair[] entry that points to freed memory after close, and hw_free() after a failed hw_params() can release the pair of another stream. 3. fsl_asrc_dma: DMA channels are leaked on a repeated hw_params(), and released twice after a Back-End configuration error. 4. fsl_easrc: the same repeated hw_params() issue for EASRC contexts. 5. fsl_asrc_m2m: more than one task per compress stream leads to double DMA channel release and a stale pair entry. Patches 2 and 4 make the pair/context release ownership-checked; patch 5 relies on them. Please apply in order. Validated on i.MX8MP (EASRC) and i.MX8QM (ASRC). Link: https://patch.msgid.link/20261116093751.138455-1-stefan.ghetu@nxp.com
4 daysASoC: fsl_asrc_m2m: allow only one task at a time per streamStefan Ghetu
All tasks of a stream share one pair and one set of DMA channels, and get_caps() advertises a single fragment, but the compress core allows up to 64 tasks. A second task requests the pair again and overwrites the DMA channels. Freeing both tasks then releases the same channels twice and leaves a stale asrc->pair[] entry after close. Return -EBUSY from task_create() while a task exists, and clear the DMA channel pointers once they are released. Fixes: 24a01710f627 ("ASoC: fsl_asrc_m2m: Add memory to memory function") Signed-off-by: Stefan Ghetu <stefan.ghetu@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@gmail.com> Link: https://patch.msgid.link/20261116093751.138455-6-stefan.ghetu@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
4 daysASoC: fsl_easrc: fix context ownership on repeated hw_paramsStefan Ghetu
hw_params() can be called again without hw_free() in between. fsl_easrc_hw_params() then requests a second context while the stream still owns the first one, which is never released. After close, that easrc->pair[] entry points to freed memory and is dereferenced by fsl_easrc_runtime_resume() on the next open. The EASRC slots depend on the number of channels, so release the owned context before requesting a new one, and make fsl_easrc_release_context() ignore a context it does not own. Fixes: 955ac624058f ("ASoC: fsl_easrc: Add EASRC ASoC CPU DAI drivers") Signed-off-by: Stefan Ghetu <stefan.ghetu@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@gmail.com> Link: https://patch.msgid.link/20261116093751.138455-5-stefan.ghetu@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
4 daysASoC: fsl_asrc_dma: release DMA channels on repeated hw_paramsStefan Ghetu
fsl_asrc_dma_hw_params() requests new DMA channels on every call and overwrites the previous ones, which are leaked when hw_params() is called again without hw_free(). Its Back-End error path also releases a channel without clearing the pointer, so the following hw_free() releases it a second time. Release the channels of a previous call first, and clear the pointer in the error path. Fixes: 3117bb3109dc ("ASoC: fsl_asrc: Add ASRC ASoC CPU DAI and platform drivers") Fixes: 36124fb19f1a ("ASoC: fsl_asrc_dma: Fix dma_chan leak when config DMA channel failed") Signed-off-by: Stefan Ghetu <stefan.ghetu@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@gmail.com> Link: https://patch.msgid.link/20261116093751.138455-4-stefan.ghetu@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
4 daysASoC: fsl_asrc: fix pair ownership on repeated or failed hw_paramsStefan Ghetu
hw_params() can be called again without hw_free() in between, and hw_free() is also called after a failed hw_params(). fsl_asrc_request_pair() always takes a new pair, so a second hw_params() leaves the stream in two asrc->pair[] entries. Only one is released, and after close the other points to freed memory, which is dereferenced by fsl_asrc_isr() and fsl_asrc_m2m_suspend(). After a failed hw_params(), fsl_asrc_release_pair() releases a stale index that may belong to another running stream. Keep the owned pair and only update its channels when it is requested again, and ignore a pair the stream does not own on release. Fixes: 3117bb3109dc ("ASoC: fsl_asrc: Add ASRC ASoC CPU DAI and platform drivers") Signed-off-by: Stefan Ghetu <stefan.ghetu@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@gmail.com> Link: https://patch.msgid.link/20261116093751.138455-3-stefan.ghetu@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
4 daysASoC: fsl_asrc_m2m: fix out-of-bounds write when draining the output FIFOStefan Ghetu
asrc_read_last_fifo() checks the FIFO fill level, a number of frames, against a length in bytes, and ignores the frames already drained by previous iterations of its retry loop. With an output length close to the 512 KiB buffer size, which userspace controls through the task input size and formats, the drain writes past the end of the output buffer: 312 bytes for 10 channels of S24_LE with 8 frames left in the FIFO. Check the space needed by all drained frames in bytes. Fixes: 24a01710f627 ("ASoC: fsl_asrc_m2m: Add memory to memory function") Signed-off-by: Stefan Ghetu <stefan.ghetu@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@gmail.com> Link: https://patch.msgid.link/20261116093751.138455-2-stefan.ghetu@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
4 daysASoC: amd: yc: Add DMI quirk for Xiaomi REDMI Book 14 2025 (AMD)Mikolaj Kucharski
The internal digital microphones on the Xiaomi REDMI Book 14 2025 (AMD), board TM2422, are not detected because the BIOS exposes neither the _WOV method nor the AcpDmicConnected property. The ACP6x PCI driver creates the acp_yc_mach platform device, but acp6x_probe() returns -ENODEV, so no capture card is registered. Add a DMI quirk entry for this board, in the same way as for the related TM2423 board. DMI information: sys_vendor: XIAOMI product_name: REDMI Book 14 2025(AMD) board_vendor: XIAOMI board_name: TM2422 bios_version: RMARB4B1P0606 The ACP is PCI 1022:15e2 rev 0x60, subsystem 1d72:2422. Diagnosis and patch were prepared with the help of an AI coding assistant (Claude Code); the change was reviewed and tested by the submitter. Signed-off-by: Mikolaj Kucharski <mikolaj@kucharski.name> Link: https://patch.msgid.link/awNg5lUNAYmZ2tOx@gdkpeagp.my.home.arpa Signed-off-by: Mark Brown <broonie@kernel.org>
4 daysASoC: tegra: Add Tegra268 ADMAIF supportMark Brown
Sheetal <sheetal@nvidia.com> says: Tegra268 reuses the Tegra264 ADMAIF register layout but provides only five RX and five TX interfaces. Add its binding, SoC data, DAI and control tables, and FIFO defaults to match this configuration. Link: https://patch.msgid.link/20261119122511.1324643-1-sheetal@nvidia.com
4 daysASoC: tegra: ADMAIF: Add Tegra268 supportAnupama Kunkulagunta
Tegra268 reuses the Tegra264 ADMAIF register layout but provides only five RX and five TX interfaces. Add the compatible and SoC data for this configuration. Add register defaults and five-entry DAI and control tables. Retain the Tegra264 32-channel per-stream limit and use Tegra268 FIFO defaults. Signed-off-by: Anupama Kunkulagunta <akunkulagunt@nvidia.com> Signed-off-by: Sheetal <sheetal@nvidia.com> Link: https://patch.msgid.link/20261119122511.1324643-3-sheetal@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
5 daysRevert "ALSA: hda/realtek: Fix silent speaker on Higole F9B"Takashi Iwai
This reverts commit 2a8ee6897302ca12ff39e8eb180503956797c60c. We've received a regression report due to this commit, and it turned out that the PCI SSID for this quirk entry is too generic (10ec:111e) that may match with several different models. Usually a workaround would be to apply the quirk for a more unique ID such as codec SSID, but in this case, unfortunately, the codec SSID is also 10ec:111e, so BIOS is in a premature state. For addressing the regression, revert the change for now. Fixes: 2a8ee6897302 ("ALSA: hda/realtek: Fix silent speaker on Higole F9B") Reported-by: Cristian-Marian Fotache <cristianmarianfotache@gmail.com> Closes: https://lore.kernel.org/CACGjpbf73XdwrG34ffjmYU3ZYuStPpFNXf9w+AGYcTmLyHCN_w@mail.gmail.com Link: https://patch.msgid.link/20261123093436.48511-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
5 daysALSA: hda/realtek: Fix headset mic on ASUS Zenbook S 13 UX5304MAOleg Antonyan
The ASUS Zenbook S 13 UX5304MA (1043:1c33) uses an ALC294 codec with CS35L41 amplifiers over SPI. Its BIOS leaves pin 0x19 unconfigured, so the headset mic on the combo jack does not work. Use ALC294_FIXUP_ASUS_SPI_HEADSET_MIC like the UX3405MA and UX3402VA. It configures the headset mic pin and chains to ALC245_FIXUP_CS35L41_SPI_2 to keep the speakers working. Tested on a UX5304MA: headset mic, internal mic and speakers work. Fixes: 61cbc08fdb04 ("ALSA: hda/realtek: Add quirks for ASUS 2024 Zenbooks") Cc: stable@vger.kernel.org Signed-off-by: Oleg Antonyan <oleg.b.antonyan@gmail.com> Link: https://patch.msgid.link/20261122-ux5304ma-headset-mic-v1-1-80589ae749a8@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
5 daysALSA: fireworks: Abort the transaction on a bus resetSuyuan Wang
When snd_efw_transaction_bus_reset() marks a transaction as STATE_BUS_RESET, snd_efw_transaction_run() sleeps and resends the command, but leaves the state as it is. The response to the resent command is then ignored, and the next wait returns at once, so the loop keeps resending the command without a retry limit until sending fails. Fireworks devices also accept AV/C commands, and the AV/C general specification says that a bus reset discards any transaction in progress. Do the same as for FCP: end the transaction on a bus reset and return -EAGAIN. ERROR_DELAY_MS has no users left, so drop it. Found with a static analysis tool and checked by hand. Suggested-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Fixes: bde8a8f23bbe ("ALSA: fireworks: Add transaction and some commands") Cc: stable@vger.kernel.org Co-developed-by: Kaixuan Li <kaixuan.li@ntu.edu.sg> Signed-off-by: Kaixuan Li <kaixuan.li@ntu.edu.sg> Signed-off-by: Suyuan Wang <stevewong@hust.edu.cn> Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20261122-firewire-busreset-v2-2-e104d785c8a1@gmail.com
5 daysALSA: firewire-lib: Abort the FCP transaction on a bus resetSuyuan Wang
When fcp_bus_reset() marks a transaction as STATE_BUS_RESET, fcp_avc_transaction() sleeps and resends the command, but leaves the state as it is. The response to the resent command is then ignored, and the next wait returns at once, so the loop keeps resending the command without a retry limit until sending fails. The AV/C Digital Interface Command Set General Specification 4.2 says that a target which detects a bus reset discards any AV/C transaction in progress without returning a response. So instead of resending, end the transaction on a bus reset and return -EAGAIN, so that the caller can start the sequence again. ERROR_DELAY_MS and <linux/delay.h> have no users left after this, so drop them. Found with a static analysis tool and checked by hand. Suggested-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Fixes: 31ef9134eb52 ("ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver") Cc: stable@vger.kernel.org Co-developed-by: Kaixuan Li <kaixuan.li@ntu.edu.sg> Signed-off-by: Kaixuan Li <kaixuan.li@ntu.edu.sg> Signed-off-by: Suyuan Wang <stevewong@hust.edu.cn> Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20261122-firewire-busreset-v2-1-e104d785c8a1@gmail.com
5 daysALSA: hda/realtek: Add quirk for HP Spectre x360 2-in-1 Laptop 16-f2xxxAbhiraj Dutta
The HP Spectre x360 16-f2xxx (SSID 103c:891e) has the same speaker problem as the 14-eu0xxx and 16-aa0xxx: the BIOS marks the treble speaker pin 0x14 as unconnected, so only the bass speakers on 0x17 play. The mute and mic-mute LEDs don't work either. Use the existing EU0XXX pin fixup and chain ALC245_FIXUP_HP_X360_MUTE_LEDS. The mute LED is on COEF 0x0b bits 2-3 and the mic-mute LED on GPIO2 (active low), which is what that fixup already handles. Unlike the 16-aa0xxx, the bass speaker amp works without toggling GPIO0, so the EU0XXX variant is enough. Under SOF the PCI SSID on this machine reads as 103c:0000, so the entry is matched against the codec SSID. Tested on a 16-f2xxx: all four speakers play and both LEDs follow the mute state. Cc: stable@vger.kernel.org Signed-off-by: Abhiraj Dutta <abhirajdutta7@gmail.com> Link: https://patch.msgid.link/20261122-hp-spectre-16-f2-quirk-v1-1-2011ef8986fb@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
5 daysALSA: usb-audio: Enable native DSD for Fosi Audio DS2Gianluca Boiano
The Fosi Audio DS2 (USB ID 262a:0001, Savitech controller with a Cirrus Logic CS43131 DAC) exposes a UAC2 RAW_DATA playback altsetting (altset 4, bmFormats 0x80000000, 32-bit subslot), but ALSA reports it as SPECIAL without the DSD_RAW quirk, preventing native DSD playback. Add the device to the quirk flags table with QUIRK_FLAG_DSD_RAW, as already done for the ddHiFi TC44C (262a:9302) using the same vendor's controller. With the quirk enabled, altset 4 is exposed as DSD_U32_BE and stereo DSD64, DSD128 and DSD256 streams (88200, 176400 and 352800 frames/s) play through it. Tested using snd-usb-audio quirk_flags=262a:0001:DSD_RAW on Linux 7.3.5. Signed-off-by: Gianluca Boiano <morf3089@gmail.com> Link: https://patch.msgid.link/20261123011401.1545242-1-morf3089@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
5 daysALSA: hda/realtek: Add quirk for ASUS VivoBook X509UAWilliam Alberto Jimenez Muñoz
The internal microphone on ASUS VivoBook X509UA (subsystem ID 0x1043:0x1961) records only silence without a quirk entry. Add ALC256_FIXUP_ASUS_MIC_NO_PRESENCE to fix the issue. Verified on the hardware by booting with snd_hda_intel.model=1043:1271, which selects the same fixup: the internal microphone then records normally. Link: https://bugzilla.kernel.org/show_bug.cgi?id=222320 Signed-off-by: William Alberto Jimenez Muñoz <alberto1192456@gmail.com> Link: https://patch.msgid.link/20261123035053.12487-1-alberto1192456@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
5 daysALSA: usb-audio: Add generic implicit feedback quirk for Elgato XLR DockJames Barnette
The Elgato XLR Dock (0fd9:00a6) returns digital silence from its microphone when the playback stream is started before the capture stream. Starting capture first works. Enforcing the generic implicit feedback mode (quirk_flags=0fd9:00a6:0x20000) fixes it: with the flag set, capture returned valid data in both start orders, while without it every playback-first trial captured 0 nonzero samples. Add a quirk entry for the device. Suggested-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: James Barnette <calmasacow@gmail.com> Link: https://patch.msgid.link/20261123081549.2237366-1-calmasacow@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
6 daysALSA: hda: intel: Release i915 power also when delayed probe failsKai Vehmanen
Commit fbaccb1b19c7 ("ALSA: hda: intel: Don't free card in the probe work") stopped freeing the card from azx_probe_work() when the delayed probe fails, and only disconnects it, leaving the free to azx_remove(). This avoids the double free, but the resources that were released by the card free via azx_free() are now kept until the PCI device is unbound. In particular the display power reference stay held, blocking runtime suspend for i915/xe. Release the display power in the azx_probe_continue() work in all cases. This power reference is only taken for the purpose of the display codec probe. If the display codec probe was successful, it will have taken its own reference. In case of systems with the HDA controller on GPU side (hda->need_i915_power), functionality is same as before - we have to keep power. Fixes: fbaccb1b19c7 ("ALSA: hda: intel: Don't free card in the probe work") Reported-by: Michal Grzelak <michal.grzelak@intel.com> Link: https://gitlab.freedesktop.org/drm/i915/kernel/-/work_items/17751 Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Link: https://patch.msgid.link/20261120150937.2187228-1-kai.vehmanen@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
6 daysALSA: hda/realtek: Enable mute LEDs on HP Envy x360 15-ew0xxxParmjot Singh
The HP ENVY x360 2-in-1 Laptop 15-ew0xxx (103c:8a2a) has speaker and mic mute LEDs that are left unconfigured by the existing two-amplifier quirk. On its ALC245 codec the speaker LED uses coefficient 0x0b bits 3:2 and the mic LED uses active-low GPIO 2. Select the existing combined CS35L41 I2C and x360 mute LED fixup for this board. On an equivalent Arch Linux 7.2.14 backport, both physical LEDs responded, both native ALSA LED triggers followed the onboard mixer switches, and both CS35L41 amps loaded their protection firmware. Codex helped trace the ALSA LED controls, prepare the change and write the commit message. The LEDs were verified on the laptop. Fixes: aa8e3ef4fe53 ("ALSA: hda/realtek: Add quirks for various HP ENVY models") Cc: stable@vger.kernel.org Signed-off-by: Parmjot Singh <parmjotsinghrobot@gmail.com> Link: https://patch.msgid.link/20261122061908.130239-1-parmjotsinghrobot@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
6 daysALSA: hda/realtek: Enable mute LEDs for HP OmniBook 7 14-hg0xxxAndrea Di Pietro
Use ALC287_FIXUP_CS35L41_I2C_2_HP_MUTE_LEDS for PCI SSID 103c:8f07 (HP OmniBook 7 Laptop 14-hg0xxx) so both mute and mic-mute LEDs work alongside the dual CS35L41 I2C amplifiers. Signed-off-by: Andrea Di Pietro <andreadipietro084@gmail.com> Link: https://patch.msgid.link/20261121174326.16369-1-andreadipietro084@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
7 daysALSA: hda/tas2781-spi: Set tas_hda->dev in probeAkhil Arul
tas2781_hda_remove() is shared by the I2C and SPI drivers and uses tas_hda->dev for component_del() and for the runtime PM calls. The I2C probe sets that field, the SPI probe does not, so for SPI it stays NULL from the devm_kzalloc(). Unbinding the device through sysfs then warns in component_del() and crashes on the NULL device in pm_runtime_get_sync(): WARNING: drivers/base/component.c:839 at component_del+0x149/0x170 Call Trace: tas2781_hda_remove+0x16/0x60 [snd_hda_scodec_tas2781] device_release_driver_internal+0x19e/0x200 unbind_store+0xa4/0xb0 Oops: general protection fault, kernel NULL pointer dereference 0x1d1 RIP: 0010:__pm_runtime_resume+0x1a/0x90 tas2781_hda_remove+0x23/0x60 [snd_hda_scodec_tas2781] The same path runs from the driver remove callback and from the component_add() failure path in tas2781_hda_spi_probe(). Before the common library was introduced, the SPI driver had its own remove function that used tas_priv->dev. Set tas_hda->dev in tas2781_hda_spi_probe(), as the I2C driver does. Tested the probe/unbind path with KASAN and lockdep enabled: without this change, unbinding the device gives the warning and oops above; with it, unbind, bind and unbind again complete without any splat. Fixes: 28a09d9e42c5 ("ALSA: hda/tas2781: Create an independent lib to save the shared parts for both SPI and I2C driver") Reported-by: Carmel Okun <Carmel@aperio.ai> Closes: https://lore.kernel.org/linux-sound/AS2PR02MB10038DB2CE8CAE659D35B9F1AC8792@AS2PR02MB10038.eurprd02.prod.outlook.com/ Cc: stable@vger.kernel.org Signed-off-by: Akhil Arul <akhilarul324@gmail.com> Link: https://patch.msgid.link/20261120125729.135171-1-akhilarul324@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
7 daysALSA: usb-audio: Add quirk flags for Logitech PRO X 2 LIGHTSPEEDchris@kode54.net
The receiver of the Logitech PRO X 2 LIGHTSPEED headset (046d:0af7) resets itself on ordinary requests such as SET_INTERFACE when it has been hotplugged and not yet gone through a reset of its own. When the probe-time interface setup runs shortly after configuration, the receiver can instead stop answering control requests altogether until its watchdog resets it about 77 seconds later, and the headset may not pair afterwards. Skip the probe-time interface setup, so that the first alt setting change happens at stream open. The receiver still resets once there, but re-enumerates within half a second and then works normally. Also set IFACE_DELAY: the delay after SET_INTERFACE lets the receiver drop off before the sample rate request is sent; otherwise that request is in flight when the device disappears and the disconnect waits for the control message timeout, delaying recovery by five seconds. Keep CTL_MSG_DELAY_1M from the Logitech vendor entry, which a device entry replaces. A receiver that is present at boot is not affected. Assisted-by: AI Signed-off-by: Christopher Snowhill <chris@kode54.net> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20261120120356.10909-3-chris@kode54.net
7 daysALSA: usb-audio: Ignore trailing whitespace in quirk_flagschris@kode54.net
Writing a flag name to the quirk_flags module parameter through sysfs with echo leaves a trailing newline on the string. The parser keeps it as part of the last flag name, so a valid flag is rejected: snd_usb_audio: unknown flag SKIP_IFACE_SETUP while parsing param quirk_flags Numeric flags are not affected because kstrtou64() accepts a trailing newline. Strip leading and trailing whitespace before parsing. Fixes: ffd586126a82 ("ALSA: usb-audio: improve module param quirk_flags") Assisted-by: AI Signed-off-by: Christopher Snowhill <chris@kode54.net> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20261120120356.10909-2-chris@kode54.net
7 daysALSA: pcm: Avoid hw_params/hw_refine changes during PCM buffer accessTakashi Iwai
While we've already protected the concurrent hw_params or hw_free changes during the PCM streaming in snd_pcm_lib_read*() and snd_pcm_lib_write*(), those entry points aren't covered by the buffer access gate yet, hence the associated PCM runtime instance may still change concurrently. This can lead to the inconsistency, e.g. in snd_pcm_xfern_frames_ioctl() or other places that refers to the runtime attribute like runtime->channel; since the concurrent hw_params may change the runtime->channel afterwards, this can result in OOB access for the array allocated for a different size with the former runtime->channels. For avoiding such races, let's take the buffer access gate at those ioctls and read/write ops from the beginning. Reported-by: on Sim <tlatkdgus1@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20261119122356.2134523-4-tiwai@suse.de
7 daysALSA: pcm: Simplify PCM buffer access gate with auto-cleanup helpersTakashi Iwai
There are a few places to grant the PCM buffer access with the gate using runtime->buffer_accessing. They are paired like below in each place: if (!atomic_inc_unless_negative(&runtime->buffer_accessing)) return -EBUSY; .... atomic_dec(&runtime->buffer_accessing); which is not really intuitive and error-prone, as being open-coded. This patch introduces helper macros to replace the code like the above with auto-cleanup. With the new helper, the above will become SND_PCM_BUFFER_ACQUIRE(runtime, lock); if (SND_PCM_BUFFER_ACQUIRE_ERR(lock)) return -EBUSY; .... and the counter-part (atomic_dec()) is dropped as it's automagically done by the auto-cleanup. Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20261119122356.2134523-3-tiwai@suse.de
7 daysALSA: pcm: Fix potential ABBA deadlock at snd_pcm_action_nonatomic()Takashi Iwai
snd_pcm_action_nonatomic() is called for PCM PREPARE and other operations, and the function takes snd_pcm_buffer_access_lock() of the given substream (that takes runtime->buffer_mutex internally) at first, followed by the call of snd_pcm_action_group() that takes buffer_mutex of other substreams in the same link group again. Recently Sashiko suggested it may lead to an ABBA deadlock when two different substreams in the same PCM link call it concurrently: CPU0 CPU1 ---- ---- lock(&A->runtime->buffer_mutex) lock(&B->runtime->buffer_mutex) lock(&B->runtime->buffer_mutex) lock(&A->runtime->buffer_mutex) This patch tries to address the potential deadlock. Instead of taking the buffer_mutex of the target substream at first and processing the rest in the loop, take the whole buffer_mutex for each in the loop. This assures the order of the nested mutexes -- the linked list itself is kept intact by the read_rwsem() around snd_pcm_action_nonatomic(). Also, this changes the action in the snd_pcm_action_group() loop from the direct call of mutex_lock(buffer_mutex) to snd_pcm_buffer_access_lock(). This prevents the unexpected state transition or the buffer access during the action, too. Since the target substream is no longer locked before the loop, the lockdep subclass for buffer_mutex in the loop now starts from 0, so that a link group of N substreams uses the subclasses 0..N-1 as before. The subclass for the stream lock case still starts from 1, as the caller holds the target stream lock at subclass 0. Note that this change might have a slight side-effect, though: when some concurrent operations happen during the PREPARE or RESET, now it may return -EBUSY. But this can be seen rather as an expected behavior that was overlooked before the fix. Fixes: 3c3201f8c7bb ("ALSA: pcm: Fix races among concurrent prepare and hw_params/hw_free calls") Reported-by: sashiko-bot@kernel.org Closes: https://lore.kernel.org/sashiko-outbox-221145@kernel.org Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20261119122356.2134523-2-tiwai@suse.de
7 daysASoC: amd: acp: Add ACP70 ACPI flag override for LG gram 15Z95UJaeHoon Kim
The LG gram 15 (15Z95U, AMD Ryzen AI 400 series, ACP 7.2) has the same audio design as the 16Z95U: RT713 on SoundWire link 0 and RT1320 on link 1, while the BIOS sets "acp-audio-config-flag" to 0x10 (FLAG_AMD_LEGACY_ONLY_DMIC). As on the 16Z95U, the flag makes snd_pci_ps bail out and no sound card is created. Add the machine to acp70_acpi_flag_override_table. The rt713 + rt1320 machine entries added for the 16Z95U then match. Tested by the reporter on an LG gram 15Z95U-H.AU87U1 with v7.4-rc3: internal speakers (correct left/right, no distortion up to full volume), internal microphones and the headset jack work, also after suspend/resume. Reported-by: Andy Pearson <stopthewar24@gmail.com> Closes: https://github.com/CachyOS/distribution/issues/516 Tested-by: Andy Pearson <stopthewar24@gmail.com> Assisted-by: Claude:claude-opus-5-5 Signed-off-by: JaeHoon Kim <jaehoon1744@dankook.ac.kr> Link: https://patch.msgid.link/20261120143930.9662-1-jaehoon1744@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
8 daysMerge tag 'asoc-fix-v7.4-rc3' of ↵Takashi Iwai
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus ASoC: Fixes for v7.4 Quite a lot of fixes here together with a few quriks for new devices, mostly not particularly remarkable. The Cirrus changes are relatively large but reasonably so, there's a bunch of data table updates and a couple of new functions needed and they come with clear reasonining.
8 daysASoC: codecs: ES8326: issue about pop and ConfigurationMark Brown
Zhang Yi <zhangyi@everest-semi.com> says: To resolve the pop noise, several delay settings were modified. To improve the codec's performance, the initialization and clock configurations were adjusted. Link: https://patch.msgid.link/20261119112647.6728-1-zhangyi@everest-semi.com
8 daysASoC: codecs: ES8326: Adjust the delay during calibrationZhang Yi
During calibration, it is necessary to wait until the CSM reaches 'normal' before continuing with the calibration; otherwise, pop noise will occur. However, 50 ms is not enough for the CSM to reach 'normal'. testing has shown that 200 ms is required. Signed-off-by: Zhang Yi <zhangyi@everest-semi.com> Link: https://patch.msgid.link/20261119112647.6728-5-zhangyi@everest-semi.com Signed-off-by: Mark Brown <broonie@kernel.org>
8 daysASoC: codecs: ES8326: Modify the Initialization ConfigurationZhang Yi
Modifying the HPF configuration during initialization Signed-off-by: Zhang Yi <zhangyi@everest-semi.com> Link: https://patch.msgid.link/20261119112647.6728-4-zhangyi@everest-semi.com Signed-off-by: Mark Brown <broonie@kernel.org>