]> git.ipfire.org Git - thirdparty/kernel/linux.git/log
thirdparty/kernel/linux.git
3 weeks agoALSA: maestro3: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:54 +0000 (12:06 +0200)] 
ALSA: maestro3: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-73-tiwai@suse.de
3 weeks agoALSA: lx6464es: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:53 +0000 (12:06 +0200)] 
ALSA: lx6464es: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-72-tiwai@suse.de
3 weeks agoALSA: lola: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:52 +0000 (12:06 +0200)] 
ALSA: lola: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-71-tiwai@suse.de
3 weeks agoALSA: korg1212: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:51 +0000 (12:06 +0200)] 
ALSA: korg1212: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-70-tiwai@suse.de
3 weeks agoALSA: intel8x0: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:50 +0000 (12:06 +0200)] 
ALSA: intel8x0: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-69-tiwai@suse.de
3 weeks agoALSA: ice1724: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:49 +0000 (12:06 +0200)] 
ALSA: ice1724: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-68-tiwai@suse.de
3 weeks agoALSA: ice1712: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:48 +0000 (12:06 +0200)] 
ALSA: ice1712: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-67-tiwai@suse.de
3 weeks agoALSA: fm801: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:47 +0000 (12:06 +0200)] 
ALSA: fm801: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-66-tiwai@suse.de
3 weeks agoALSA: es1968: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:46 +0000 (12:06 +0200)] 
ALSA: es1968: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-65-tiwai@suse.de
3 weeks agoALSA: es1938: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:45 +0000 (12:06 +0200)] 
ALSA: es1938: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-64-tiwai@suse.de
3 weeks agoALSA: ens1370: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:44 +0000 (12:06 +0200)] 
ALSA: ens1370: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-63-tiwai@suse.de
3 weeks agoALSA: emu10k1: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:43 +0000 (12:06 +0200)] 
ALSA: emu10k1: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-62-tiwai@suse.de
3 weeks agoALSA: echoaudio: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:42 +0000 (12:06 +0200)] 
ALSA: echoaudio: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-61-tiwai@suse.de
3 weeks agoALSA: ctxfi: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:41 +0000 (12:06 +0200)] 
ALSA: ctxfi: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-60-tiwai@suse.de
3 weeks agoALSA: cs5535audio: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:40 +0000 (12:06 +0200)] 
ALSA: cs5535audio: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-59-tiwai@suse.de
3 weeks agoALSA: cs5530: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:39 +0000 (12:06 +0200)] 
ALSA: cs5530: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-58-tiwai@suse.de
3 weeks agoALSA: cs46xx: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:38 +0000 (12:06 +0200)] 
ALSA: cs46xx: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-57-tiwai@suse.de
3 weeks agoALSA: cs4281: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:37 +0000 (12:06 +0200)] 
ALSA: cs4281: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-56-tiwai@suse.de
3 weeks agoALSA: cmipci: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:36 +0000 (12:06 +0200)] 
ALSA: cmipci: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-55-tiwai@suse.de
3 weeks agoALSA: ca0106: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:35 +0000 (12:06 +0200)] 
ALSA: ca0106: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-54-tiwai@suse.de
3 weeks agoALSA: bt87x: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:34 +0000 (12:06 +0200)] 
ALSA: bt87x: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-53-tiwai@suse.de
3 weeks agoALSA: azt3328: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:33 +0000 (12:06 +0200)] 
ALSA: azt3328: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-52-tiwai@suse.de
3 weeks agoALSA: aw2: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:32 +0000 (12:06 +0200)] 
ALSA: aw2: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-51-tiwai@suse.de
3 weeks agoALSA: au88x0: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:31 +0000 (12:06 +0200)] 
ALSA: au88x0: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-50-tiwai@suse.de
3 weeks agoALSA: atiixp: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:30 +0000 (12:06 +0200)] 
ALSA: atiixp: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-49-tiwai@suse.de
3 weeks agoALSA: asihpi: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:29 +0000 (12:06 +0200)] 
ALSA: asihpi: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-48-tiwai@suse.de
3 weeks agoALSA: als4000: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:28 +0000 (12:06 +0200)] 
ALSA: als4000: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-47-tiwai@suse.de
3 weeks agoALSA: als300: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:27 +0000 (12:06 +0200)] 
ALSA: als300: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-46-tiwai@suse.de
3 weeks agoALSA: ali5451: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:26 +0000 (12:06 +0200)] 
ALSA: ali5451: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-45-tiwai@suse.de
3 weeks agoALSA: ak4531: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:25 +0000 (12:06 +0200)] 
ALSA: ak4531: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-44-tiwai@suse.de
3 weeks agoALSA: ad1889: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:24 +0000 (12:06 +0200)] 
ALSA: ad1889: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-43-tiwai@suse.de
3 weeks agoALSA: ac97: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:23 +0000 (12:06 +0200)] 
ALSA: ac97: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-42-tiwai@suse.de
3 weeks agoALSA: parisc: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:22 +0000 (12:06 +0200)] 
ALSA: parisc: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-41-tiwai@suse.de
3 weeks agoALSA: mips: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:21 +0000 (12:06 +0200)] 
ALSA: mips: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-40-tiwai@suse.de
3 weeks agoALSA: wss: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:20 +0000 (12:06 +0200)] 
ALSA: wss: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-39-tiwai@suse.de
3 weeks agoALSA: wavefront: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:19 +0000 (12:06 +0200)] 
ALSA: wavefront: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-38-tiwai@suse.de
3 weeks agoALSA: sscape: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:18 +0000 (12:06 +0200)] 
ALSA: sscape: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-37-tiwai@suse.de
3 weeks agoALSA: sc6000: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:17 +0000 (12:06 +0200)] 
ALSA: sc6000: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-36-tiwai@suse.de
3 weeks agoALSA: opti9xx: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:16 +0000 (12:06 +0200)] 
ALSA: opti9xx: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-35-tiwai@suse.de
3 weeks agoALSA: opl3sa2: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:15 +0000 (12:06 +0200)] 
ALSA: opl3sa2: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-34-tiwai@suse.de
3 weeks agoALSA: msnd: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:14 +0000 (12:06 +0200)] 
ALSA: msnd: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-33-tiwai@suse.de
3 weeks agoALSA: gus: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:13 +0000 (12:06 +0200)] 
ALSA: gus: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-32-tiwai@suse.de
3 weeks agoALSA: galaxy: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:12 +0000 (12:06 +0200)] 
ALSA: galaxy: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-31-tiwai@suse.de
3 weeks agoALSA: es18xx: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:11 +0000 (12:06 +0200)] 
ALSA: es18xx: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-30-tiwai@suse.de
3 weeks agoALSA: es1688: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:10 +0000 (12:06 +0200)] 
ALSA: es1688: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-29-tiwai@suse.de
3 weeks agoALSA: cs423x: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:09 +0000 (12:06 +0200)] 
ALSA: cs423x: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-28-tiwai@suse.de
3 weeks agoALSA: cmi8330: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:08 +0000 (12:06 +0200)] 
ALSA: cmi8330: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-27-tiwai@suse.de
3 weeks agoALSA: cmi8328: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:07 +0000 (12:06 +0200)] 
ALSA: cmi8328: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-26-tiwai@suse.de
3 weeks agoALSA: als100: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:06 +0000 (12:06 +0200)] 
ALSA: als100: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-25-tiwai@suse.de
3 weeks agoALSA: adlib: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:05 +0000 (12:06 +0200)] 
ALSA: adlib: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-24-tiwai@suse.de
3 weeks agoALSA: ad1816a: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:04 +0000 (12:06 +0200)] 
ALSA: ad1816a: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-23-tiwai@suse.de
3 weeks agoALSA: firewire: tascam: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:03 +0000 (12:06 +0200)] 
ALSA: firewire: tascam: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://patch.msgid.link/20250710100727.22653-22-tiwai@suse.de
3 weeks agoALSA: firewire: oxfw: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:02 +0000 (12:06 +0200)] 
ALSA: firewire: oxfw: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://patch.msgid.link/20250710100727.22653-21-tiwai@suse.de
3 weeks agoALSA: firewire: motu: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:01 +0000 (12:06 +0200)] 
ALSA: firewire: motu: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://patch.msgid.link/20250710100727.22653-20-tiwai@suse.de
3 weeks agoALSA: firewire: isight: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:06:00 +0000 (12:06 +0200)] 
ALSA: firewire: isight: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://patch.msgid.link/20250710100727.22653-19-tiwai@suse.de
3 weeks agoALSA: firewire: fireworks: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:59 +0000 (12:05 +0200)] 
ALSA: firewire: fireworks: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://patch.msgid.link/20250710100727.22653-18-tiwai@suse.de
3 weeks agoALSA: firewire: fireface: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:58 +0000 (12:05 +0200)] 
ALSA: firewire: fireface: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://patch.msgid.link/20250710100727.22653-17-tiwai@suse.de
3 weeks agoALSA: firewire: digi00x: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:57 +0000 (12:05 +0200)] 
ALSA: firewire: digi00x: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://patch.msgid.link/20250710100727.22653-16-tiwai@suse.de
3 weeks agoALSA: firewire: dice: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:56 +0000 (12:05 +0200)] 
ALSA: firewire: dice: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://patch.msgid.link/20250710100727.22653-15-tiwai@suse.de
3 weeks agoALSA: firewire: bebob: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:55 +0000 (12:05 +0200)] 
ALSA: firewire: bebob: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://patch.msgid.link/20250710100727.22653-14-tiwai@suse.de
3 weeks agoALSA: vx: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:54 +0000 (12:05 +0200)] 
ALSA: vx: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-13-tiwai@suse.de
3 weeks agoALSA: virmidi: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:53 +0000 (12:05 +0200)] 
ALSA: virmidi: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-12-tiwai@suse.de
3 weeks agoALSA: serial-u16550: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:52 +0000 (12:05 +0200)] 
ALSA: serial-u16550: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-11-tiwai@suse.de
3 weeks agoALSA: serial-generic: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:51 +0000 (12:05 +0200)] 
ALSA: serial-generic: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-10-tiwai@suse.de
3 weeks agoALSA: portman2x4: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:50 +0000 (12:05 +0200)] 
ALSA: portman2x4: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-9-tiwai@suse.de
3 weeks agoALSA: pcsp: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:49 +0000 (12:05 +0200)] 
ALSA: pcsp: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-8-tiwai@suse.de
3 weeks agoALSA: opl4: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:48 +0000 (12:05 +0200)] 
ALSA: opl4: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-7-tiwai@suse.de
3 weeks agoALSA: opl3: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:47 +0000 (12:05 +0200)] 
ALSA: opl3: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-6-tiwai@suse.de
3 weeks agoALSA: mpu401: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:46 +0000 (12:05 +0200)] 
ALSA: mpu401: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-5-tiwai@suse.de
3 weeks agoALSA: seq: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:45 +0000 (12:05 +0200)] 
ALSA: seq: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-4-tiwai@suse.de
3 weeks agoALSA: rawmidi: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:44 +0000 (12:05 +0200)] 
ALSA: rawmidi: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-3-tiwai@suse.de
3 weeks agoALSA: control: Use safer strscpy() instead of strcpy()
Takashi Iwai [Thu, 10 Jul 2025 10:05:43 +0000 (12:05 +0200)] 
ALSA: control: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-2-tiwai@suse.de
3 weeks agoMerge branch 'for-linus' into for-next
Takashi Iwai [Fri, 11 Jul 2025 07:50:06 +0000 (09:50 +0200)] 
Merge branch 'for-linus' into for-next

Back-merge 6.16 devel branch for large patch sets including string
cleanups and HD-audio reorganization

Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 weeks agoALSA: hda/realtek - Fix mute LED for HP Victus 16-r0xxx
Edip Hazuri [Thu, 10 Jul 2025 13:18:12 +0000 (16:18 +0300)] 
ALSA: hda/realtek - Fix mute LED for HP Victus 16-r0xxx

The mute led on this laptop is using ALC245 but requires a quirk to work
This patch enables the existing quirk for the device.

Tested on Victus 16-r0xxx Laptop. The LED behaviour works
as intended.

Cc: <stable@vger.kernel.org>
Signed-off-by: Edip Hazuri <edip@medip.dev>
Link: https://patch.msgid.link/20250710131812.27509-1-edip@medip.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 weeks agoMerge tag 'asoc-fix-v6.16-rc5' of https://git.kernel.org/pub/scm/linux/kernel/git...
Takashi Iwai [Thu, 10 Jul 2025 09:59:31 +0000 (11:59 +0200)] 
Merge tag 'asoc-fix-v6.16-rc5' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus

ASoC: Fixes for v6.16

Two patches here, one quirk for an AMD system and a fix for an issue on
remove of the AVS driver.

4 weeks agoALSA: compress_offload: tighten ioctl command number checks
Arnd Bergmann [Thu, 10 Jul 2025 06:30:49 +0000 (08:30 +0200)] 
ALSA: compress_offload: tighten ioctl command number checks

The snd_compr_ioctl() ignores the upper 24 bits of the ioctl command
number and only compares the number of the ioctl command, which can
cause unintended behavior if an application tries to use an unsupprted
command that happens to have the same _IOC_NR() value.

Remove the truncation to the low bits and compare the entire ioctl
command code like every other driver does.

Fixes: b21c60a4edd2 ("ALSA: core: add support for compress_offload")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Vinod Koul <vkoul@kernel.org>
Link: https://patch.msgid.link/20250710063059.2683476-1-arnd@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 weeks agoALSA: echoaudio: Replace deprecated strcpy() with strscpy()
Thorsten Blum [Wed, 9 Jul 2025 12:46:52 +0000 (14:46 +0200)] 
ALSA: echoaudio: Replace deprecated strcpy() with strscpy()

strcpy() is deprecated; use strscpy() instead.

No functional changes intended.

Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250709124655.1195-1-thorsten.blum@linux.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 weeks agoASoC: Intel: avs: Fix NULL ptr deref on rmmod
Amadeusz Sławiński [Tue, 8 Jul 2025 10:50:09 +0000 (12:50 +0200)] 
ASoC: Intel: avs: Fix NULL ptr deref on rmmod

When uloading snd_soc_avs module there is NULL pointer dereference.
It happens, because codec was moved into pdata and
avs_component_hda_unregister_dais() was not updated.

Fixes: 1581d5c68208 ("ASoC: Intel: avs: boards: Add Kconfig option for obsolete card names")
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://patch.msgid.link/20250708105009.1883627-1-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
4 weeks agoASoC: amd: yc: add DMI quirk for ASUS M6501RM
Alexandru Andries [Mon, 7 Jul 2025 22:07:30 +0000 (01:07 +0300)] 
ASoC: amd: yc: add DMI quirk for ASUS M6501RM

add DMI entry for ASUS Vivobook PRO 15X (M6501RM)
to make the internal microphone function

Signed-off-by: Alexandru Andries <alex.andries.aa@gmail.com>
Link: https://patch.msgid.link/20250707220730.361290-1-alex.andries.aa@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
4 weeks agoALSA: hda/realtek: Enable headset Mic on Positivo K116J
Edson Juliano Drosdeck [Mon, 7 Jul 2025 11:45:37 +0000 (08:45 -0300)] 
ALSA: hda/realtek: Enable headset Mic on Positivo K116J

Positivo K116J is equipped with ALC269VC, and needs a fix to make
the headset mic to work.
Also must to limits the internal microphone boost.

Signed-off-by: Edson Juliano Drosdeck <edson.drosdeck@gmail.com>
Link: https://patch.msgid.link/20250707114537.8291-1-edson.drosdeck@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 weeks agoALSA: hda/tas2781: Fix calibration data parser issue
Baojun Xu [Mon, 7 Jul 2025 09:05:13 +0000 (17:05 +0800)] 
ALSA: hda/tas2781: Fix calibration data parser issue

We will copy calibration data from position behind to front.
We have created a variable (tmp_val) point on top of calibration data
buffer, and tmp_val[1] is max of node number in original calibration
data structure, it will be overwritten after first data copy,
so can't be used as max node number check in for loop.
So we create a new variable to save max of node number (tmp_val[1]),
used to check if max node number was reached in for loop.
And a point need to be increased to point at calibration data in node.
Data saved position also need to be increased one byte.

Fixes: 4fe238513407 ("ALSA: hda/tas2781: Move and unified the calibrated-data getting function for SPI and I2C into the tas2781_hda lib")
Signed-off-by: Baojun Xu <baojun.xu@ti.com>
Link: https://patch.msgid.link/20250707090513.1462-1-baojun.xu@ti.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 weeks agoALSA: mts64: Replace deprecated strcpy() with strscpy()
Thorsten Blum [Sun, 6 Jul 2025 16:09:03 +0000 (18:09 +0200)] 
ALSA: mts64: Replace deprecated strcpy() with strscpy()

strcpy() is deprecated; use strscpy() instead.

No functional changes intended.

Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250706160906.416270-1-thorsten.blum@linux.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 weeks agoALSA: hda: Remove redundant pm_runtime_mark_last_busy() calls
Sakari Ailus [Fri, 4 Jul 2025 07:54:55 +0000 (10:54 +0300)] 
ALSA: hda: Remove redundant pm_runtime_mark_last_busy() calls

pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(),
pm_runtime_autosuspend() and pm_request_autosuspend() now include a call
to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to
pm_runtime_mark_last_busy().

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://patch.msgid.link/20250704075455.3222438-1-sakari.ailus@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 weeks agoALSA: intel_hdmi: Remove redundant pm_runtime_mark_last_busy() calls
Sakari Ailus [Fri, 4 Jul 2025 07:55:00 +0000 (10:55 +0300)] 
ALSA: intel_hdmi: Remove redundant pm_runtime_mark_last_busy() calls

pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(),
pm_runtime_autosuspend() and pm_request_autosuspend() now include a call
to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to
pm_runtime_mark_last_busy().

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://patch.msgid.link/20250704075500.3222950-1-sakari.ailus@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 weeks agoMerge tag 'pm-runtime-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Takashi Iwai [Sun, 6 Jul 2025 08:24:46 +0000 (10:24 +0200)] 
Merge tag 'pm-runtime-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm into for-next

Runtime PM updates related to autosuspend for 6.17

Make several autosuspend functions mark last busy stamp and update
the documentation accordingly (Sakari Ailus).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 weeks agoALSA: hda: add MODULE_FIRMWARE for cs35l41/cs35l56
GalaxySnail [Tue, 24 Jun 2025 10:17:17 +0000 (18:17 +0800)] 
ALSA: hda: add MODULE_FIRMWARE for cs35l41/cs35l56

add firmware information in the .modinfo section, so that userspace
tools can find out firmware required by cs35l41/cs35l56 kernel module

Signed-off-by: GalaxySnail <me@glxys.nl>
Reviewed-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20250624101716.2365302-2-me@glxys.nl
Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 weeks agoALSA: hda/tas2781: Add bus name in device name check
Baojun Xu [Sat, 5 Jul 2025 02:53:33 +0000 (10:53 +0800)] 
ALSA: hda/tas2781: Add bus name in device name check

Device name start from bus name, as we use strstarts()
to do compare, need add it for TXNW2781 device.

Fixes: b2904df0a347 ("ALSA: hda/tas2781: Add compatible for hardware id TIAS2781 and TXNW2781")
Signed-off-by: Baojun Xu <baojun.xu@ti.com>
Link: https://patch.msgid.link/20250705025333.24346-1-baojun.xu@ti.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 weeks agoMerge tag 'asoc-fix-v6.16-rc4' of https://git.kernel.org/pub/scm/linux/kernel/git...
Takashi Iwai [Fri, 4 Jul 2025 15:53:03 +0000 (17:53 +0200)] 
Merge tag 'asoc-fix-v6.16-rc4' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus

ASoC: Fixes for v6.16

An update for the MAINTAINERS file, plus a number of small driver
specific fixes and device quirks.

4 weeks agoALSA: hda: Add device entry for QEMU
Takashi Iwai [Fri, 4 Jul 2025 07:11:06 +0000 (09:11 +0200)] 
ALSA: hda: Add device entry for QEMU

QEMU HD-audio device (1af4:0021) is handled by the generic HD-audio
codec driver, hence it's better to have an explicit device ID listing,
so that we can avoid the superfluous vendor driver matching.

Link: https://patch.msgid.link/20250704071107.14626-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 weeks agoALSA: hda: Remove old commented out sanity check
Thorsten Blum [Thu, 3 Jul 2025 22:52:36 +0000 (00:52 +0200)] 
ALSA: hda: Remove old commented out sanity check

The sanity check has been commented out for more than 12 years since
commit d5657ec9f4ad ("ALSA: hda - Disable the sanity check in
snd_hda_add_pincfg()") - remove it.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250703225238.308359-2-thorsten.blum@linux.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 weeks agoALSA: mtpav: Replace deprecated strcpy() with strscpy()
Thorsten Blum [Thu, 3 Jul 2025 13:42:52 +0000 (15:42 +0200)] 
ALSA: mtpav: Replace deprecated strcpy() with strscpy()

strcpy() is deprecated; use strscpy() instead.

No functional changes intended.

Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250703134255.3948-2-thorsten.blum@linux.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
4 weeks agoALSA: ad1816a: Fix potential NULL pointer deref in snd_card_ad1816a_pnp()
Thorsten Blum [Thu, 3 Jul 2025 20:06:13 +0000 (22:06 +0200)] 
ALSA: ad1816a: Fix potential NULL pointer deref in snd_card_ad1816a_pnp()

Use pr_warn() instead of dev_warn() when 'pdev' is NULL to avoid a
potential NULL pointer dereference.

Cc: stable@vger.kernel.org
Fixes: 20869176d7a7 ("ALSA: ad1816a: Use standard print API")
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250703200616.304309-2-thorsten.blum@linux.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
5 weeks agoASoC: cs35l56: probe() should fail if the device ID is not recognized
Richard Fitzgerald [Thu, 3 Jul 2025 10:25:21 +0000 (11:25 +0100)] 
ASoC: cs35l56: probe() should fail if the device ID is not recognized

Return an error from driver probe if the DEVID read from the chip is not
one supported by this driver.

In cs35l56_hw_init() there is a check for valid DEVID, but the invalid
case was returning the value of ret. At this point in the code ret == 0
so the caller would think that cs35l56_hw_init() was successful.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Fixes: 84851aa055c8 ("ASoC: cs35l56: Move part of cs35l56_init() to shared library")
Link: https://patch.msgid.link/20250703102521.54204-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
5 weeks agoALSA: hda/realtek: Add quirk for ASUS ExpertBook B9403CVAR
Peter Ujfalusi [Tue, 1 Jul 2025 13:34:11 +0000 (16:34 +0300)] 
ALSA: hda/realtek: Add quirk for ASUS ExpertBook B9403CVAR

ASUS ExpertBook B9403CVAR needs the ALC294_FIXUP_ASUS_HPE for the
headphones to work.

Closes: https://github.com/thesofproject/linux/issues/5472
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Tested-by: Anton Khirnov <anton@khirnov.net>
Link: https://patch.msgid.link/20250701133411.25275-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
5 weeks agoALSA: pcmtest: Replace deprecated strcpy() with strscpy()
Thorsten Blum [Tue, 1 Jul 2025 12:05:25 +0000 (14:05 +0200)] 
ALSA: pcmtest: Replace deprecated strcpy() with strscpy()

strcpy() is deprecated; use strscpy() instead.

No functional changes intended.

Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250701120525.185831-2-thorsten.blum@linux.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
5 weeks agoASoC: Intel: sof_sdw: Add quirks for Lenovo P1 and P16
Simon Trimmer [Wed, 2 Jul 2025 11:22:35 +0000 (11:22 +0000)] 
ASoC: Intel: sof_sdw: Add quirks for Lenovo P1 and P16

These Lenovo Laptops have the DMICs connected to the host instead of the
CS42L43 and so need the SOC_SDW_CODEC_MIC quirk.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Link: https://patch.msgid.link/20250702112235.377479-1-simont@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
5 weeks agoALSA: dummy: Replace deprecated strcpy() with strscpy()
Thorsten Blum [Mon, 30 Jun 2025 11:09:44 +0000 (13:09 +0200)] 
ALSA: dummy: Replace deprecated strcpy() with strscpy()

strcpy() is deprecated; use strscpy() instead.

No functional changes intended.

Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250630110945.2225-2-thorsten.blum@linux.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
5 weeks agoALSA: hrtimer: Replace deprecated strcpy() with strscpy()
Thorsten Blum [Mon, 30 Jun 2025 10:57:22 +0000 (12:57 +0200)] 
ALSA: hrtimer: Replace deprecated strcpy() with strscpy()

strcpy() is deprecated; use strscpy() instead.

No functional changes intended.

Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250630105723.1703-2-thorsten.blum@linux.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
5 weeks agoALSA: timer: Replace deprecated strcpy() with strscpy()
Thorsten Blum [Mon, 30 Jun 2025 10:54:18 +0000 (12:54 +0200)] 
ALSA: timer: Replace deprecated strcpy() with strscpy()

strcpy() is deprecated; use strscpy() instead.

No functional changes intended.

Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250630105420.1448-2-thorsten.blum@linux.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
5 weeks agoALSA: usb-audio: Improve filtering of sample rates on Focusrite devices
Alexander Tsoy [Mon, 30 Jun 2025 01:33:57 +0000 (04:33 +0300)] 
ALSA: usb-audio: Improve filtering of sample rates on Focusrite devices

Previously we were filtering out only upper unsupported sampling rates.
This patch adds filtering of the lower unsupported sampling rates. As a
result there is 1:1 mapping between altsetting and supported rates.

The issue was found on a Scarlett 3rd Gen card (see linked bug), but the
same filtering is likely needed for the Scarlett 1st and 2nd Gen as well
as the older Clarett cards which lacks Valid Alternate Setting Control.

Patch was not tested on a real hardware.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=214493
Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
Link: https://patch.msgid.link/20250630013357.1327420-1-alexander@tsoy.me
Signed-off-by: Takashi Iwai <tiwai@suse.de>