Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'sound-fix-7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound

Pull sound fixes from Takashi Iwai:
"Here are a bunch of updates, but there should be no big surprises;
mostly device-specific quirks and fix-ups or non-code changes:

- Quirks for ASoC AMD, HD-audio and USB-audio

- Fixes in ASoC fsl, rockchip, renesas, aw codecs

- Fixes for USB-audio packet handling in the implicit feedback mode

- Updates of SPDX license IDs in some files"

* tag 'sound-fix-7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (28 commits)
ASoC: rockchip: i2s-tdm: Use param rate if not provided by set_sysclk
ALSA: hda/hdmi: Add quirk for TUXEDO IBS14G6
ASoC: dt-bindings: asahi-kasei,ak5558: Fix the supply names
ASoC: dt-bindings: asahi-kasei,ak4458: Fix the supply names
ASoC: dt-bindings: asahi-kasei,ak4458: set unevaluatedProperties:false
ASoC: amd: amd_sdw: add machine driver quirk for Lenovo models
ASoC: amd: acp: Add ACP7.0 match entries for Realtek parts
ALSA: echoaudio: Add SPDX ids to some files
ALSA: isa: Add SPDX id lines to some files
ALSA: core: Add SPDX license id to files
ASoC: tas2783A: add explicit port prepare handling
ASoC: renesas: rz-ssi: Fix playback and capture
ALSA: hda/realtek: Fix headset mic on ASUS Zenbook 14 UX3405MA
ALSA: hda/conexant: Fix headphone jack handling on Acer Swift SF314
ASoC: qcom: sm8250: Add quinary MI2S support
ASoC: amd: yc: Add DMI quirk for ASUS Vivobook Pro 15X M6501RR
ALSA: usb-audio: Avoid potentially repeated XRUN error messages
ALSA: usb-audio: Add sanity check for OOB writes at silencing
ALSA: usb-audio: Optimize the copy of packet sizes for implicit fb handling
ALSA: usb-audio: Update the number of packets properly at receiving
...

+247 -530
+3 -3
Documentation/devicetree/bindings/sound/asahi-kasei,ak4458.yaml
··· 21 21 reg: 22 22 maxItems: 1 23 23 24 - avdd-supply: 24 + AVDD-supply: 25 25 description: Analog power supply 26 26 27 - dvdd-supply: 27 + DVDD-supply: 28 28 description: Digital power supply 29 29 30 30 reset-gpios: ··· 60 60 properties: 61 61 dsd-path: false 62 62 63 - additionalProperties: false 63 + unevaluatedProperties: false 64 64 65 65 examples: 66 66 - |
+6 -3
Documentation/devicetree/bindings/sound/asahi-kasei,ak5558.yaml
··· 19 19 reg: 20 20 maxItems: 1 21 21 22 - avdd-supply: 22 + AVDD-supply: 23 23 description: A 1.8V supply that powers up the AVDD pin. 24 24 25 - dvdd-supply: 25 + DVDD-supply: 26 26 description: A 1.2V supply that powers up the DVDD pin. 27 27 28 28 reset-gpios: ··· 32 32 - compatible 33 33 - reg 34 34 35 - additionalProperties: false 35 + allOf: 36 + - $ref: dai-common.yaml# 37 + 38 + unevaluatedProperties: false 36 39 37 40 examples: 38 41 - |
+1 -16
sound/core/oss/copy.c
··· 1 + // SPDX-License-Identifier: LGPL-2.0+ 1 2 /* 2 3 * Linear conversion Plug-In 3 4 * Copyright (c) 2000 by Abramo Bagnara <abramo@alsa-project.org> 4 - * 5 - * 6 - * This library is free software; you can redistribute it and/or modify 7 - * it under the terms of the GNU Library General Public License as 8 - * published by the Free Software Foundation; either version 2 of 9 - * the License, or (at your option) any later version. 10 - * 11 - * This program is distributed in the hope that it will be useful, 12 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 - * GNU Library General Public License for more details. 15 - * 16 - * You should have received a copy of the GNU Library General Public 17 - * License along with this library; if not, write to the Free Software 18 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 - * 20 5 */ 21 6 22 7 #include <linux/time.h>
+1 -16
sound/core/oss/io.c
··· 1 + // SPDX-License-Identifier: LGPL-2.0+ 1 2 /* 2 3 * PCM I/O Plug-In Interface 3 4 * Copyright (c) 1999 by Jaroslav Kysela <perex@perex.cz> 4 - * 5 - * 6 - * This library is free software; you can redistribute it and/or modify 7 - * it under the terms of the GNU Library General Public License as 8 - * published by the Free Software Foundation; either version 2 of 9 - * the License, or (at your option) any later version. 10 - * 11 - * This program is distributed in the hope that it will be useful, 12 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 - * GNU Library General Public License for more details. 15 - * 16 - * You should have received a copy of the GNU Library General Public 17 - * License along with this library; if not, write to the Free Software 18 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 - * 20 5 */ 21 6 22 7 #include <linux/time.h>
+1 -16
sound/core/oss/linear.c
··· 1 + // SPDX-License-Identifier: LGPL-2.0+ 1 2 /* 2 3 * Linear conversion Plug-In 3 4 * Copyright (c) 1999 by Jaroslav Kysela <perex@perex.cz>, 4 5 * Abramo Bagnara <abramo@alsa-project.org> 5 - * 6 - * 7 - * This library is free software; you can redistribute it and/or modify 8 - * it under the terms of the GNU Library General Public License as 9 - * published by the Free Software Foundation; either version 2 of 10 - * the License, or (at your option) any later version. 11 - * 12 - * This program is distributed in the hope that it will be useful, 13 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 - * GNU Library General Public License for more details. 16 - * 17 - * You should have received a copy of the GNU Library General Public 18 - * License along with this library; if not, write to the Free Software 19 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 - * 21 6 */ 22 7 23 8 #include <linux/time.h>
+1 -15
sound/core/oss/mulaw.c
··· 1 + // SPDX-License-Identifier: LGPL-2.0+ 1 2 /* 2 3 * Mu-Law conversion Plug-In Interface 3 4 * Copyright (c) 1999 by Jaroslav Kysela <perex@perex.cz> 4 5 * Uros Bizjak <uros@kss-loka.si> 5 6 * 6 7 * Based on reference implementation by Sun Microsystems, Inc. 7 - * 8 - * This library is free software; you can redistribute it and/or modify 9 - * it under the terms of the GNU Library General Public License as 10 - * published by the Free Software Foundation; either version 2 of 11 - * the License, or (at your option) any later version. 12 - * 13 - * This program is distributed in the hope that it will be useful, 14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 - * GNU Library General Public License for more details. 17 - * 18 - * You should have received a copy of the GNU Library General Public 19 - * License along with this library; if not, write to the Free Software 20 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 - * 22 8 */ 23 9 24 10 #include <linux/time.h>
+1 -16
sound/core/oss/pcm_plugin.c
··· 1 + // SPDX-License-Identifier: LGPL-2.0+ 1 2 /* 2 3 * PCM Plug-In shared (kernel/library) code 3 4 * Copyright (c) 1999 by Jaroslav Kysela <perex@perex.cz> 4 5 * Copyright (c) 2000 by Abramo Bagnara <abramo@alsa-project.org> 5 - * 6 - * 7 - * This library is free software; you can redistribute it and/or modify 8 - * it under the terms of the GNU Library General Public License as 9 - * published by the Free Software Foundation; either version 2 of 10 - * the License, or (at your option) any later version. 11 - * 12 - * This program is distributed in the hope that it will be useful, 13 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 - * GNU Library General Public License for more details. 16 - * 17 - * You should have received a copy of the GNU Library General Public 18 - * License along with this library; if not, write to the Free Software 19 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 - * 21 6 */ 22 7 23 8 #if 0
+1 -16
sound/core/oss/rate.c
··· 1 + // SPDX-License-Identifier: LGPL-2.0+ 1 2 /* 2 3 * Rate conversion Plug-In 3 4 * Copyright (c) 1999 by Jaroslav Kysela <perex@perex.cz> 4 - * 5 - * 6 - * This library is free software; you can redistribute it and/or modify 7 - * it under the terms of the GNU Library General Public License as 8 - * published by the Free Software Foundation; either version 2 of 9 - * the License, or (at your option) any later version. 10 - * 11 - * This program is distributed in the hope that it will be useful, 12 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 - * GNU Library General Public License for more details. 15 - * 16 - * You should have received a copy of the GNU Library General Public 17 - * License along with this library; if not, write to the Free Software 18 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 - * 20 5 */ 21 6 22 7 #include <linux/time.h>
+1 -16
sound/core/oss/route.c
··· 1 + // SPDX-License-Identifier: LGPL-2.0+ 1 2 /* 2 3 * Route Plug-In 3 4 * Copyright (c) 2000 by Abramo Bagnara <abramo@alsa-project.org> 4 - * 5 - * 6 - * This library is free software; you can redistribute it and/or modify 7 - * it under the terms of the GNU Library General Public License as 8 - * published by the Free Software Foundation; either version 2 of 9 - * the License, or (at your option) any later version. 10 - * 11 - * This program is distributed in the hope that it will be useful, 12 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 - * GNU Library General Public License for more details. 15 - * 16 - * You should have received a copy of the GNU Library General Public 17 - * License along with this library; if not, write to the Free Software 18 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 - * 20 5 */ 21 6 22 7 #include <linux/time.h>
+2 -17
sound/core/pcm_misc.c
··· 1 + // SPDX-License-Identifier: LGPL-2.0+ 1 2 /* 2 3 * PCM Interface - misc routines 3 4 * Copyright (c) 1998 by Jaroslav Kysela <perex@perex.cz> 4 - * 5 - * 6 - * This library is free software; you can redistribute it and/or modify 7 - * it under the terms of the GNU Library General Public License as 8 - * published by the Free Software Foundation; either version 2 of 9 - * the License, or (at your option) any later version. 10 - * 11 - * This program is distributed in the hope that it will be useful, 12 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 - * GNU Library General Public License for more details. 15 - * 16 - * You should have received a copy of the GNU Library General Public 17 - * License along with this library; if not, write to the Free Software 18 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 - * 20 5 */ 21 - 6 + 22 7 #include <linux/time.h> 23 8 #include <linux/export.h> 24 9 #include <sound/core.h>
+10
sound/hda/codecs/conexant.c
··· 299 299 CXT_PINCFG_SWS_JS201D, 300 300 CXT_PINCFG_TOP_SPEAKER, 301 301 CXT_FIXUP_HP_A_U, 302 + CXT_FIXUP_ACER_SWIFT_HP, 302 303 }; 303 304 304 305 /* for hda_fixup_thinkpad_acpi() */ ··· 1025 1024 .type = HDA_FIXUP_FUNC, 1026 1025 .v.func = cxt_fixup_hp_a_u, 1027 1026 }, 1027 + [CXT_FIXUP_ACER_SWIFT_HP] = { 1028 + .type = HDA_FIXUP_PINS, 1029 + .v.pins = (const struct hda_pintbl[]) { 1030 + { 0x16, 0x0321403f }, /* Headphone */ 1031 + { 0x19, 0x40f001f0 }, /* Mic */ 1032 + { } 1033 + }, 1034 + }, 1028 1035 }; 1029 1036 1030 1037 static const struct hda_quirk cxt5045_fixups[] = { ··· 1082 1073 SND_PCI_QUIRK(0x1025, 0x0543, "Acer Aspire One 522", CXT_FIXUP_STEREO_DMIC), 1083 1074 SND_PCI_QUIRK(0x1025, 0x054c, "Acer Aspire 3830TG", CXT_FIXUP_ASPIRE_DMIC), 1084 1075 SND_PCI_QUIRK(0x1025, 0x054f, "Acer Aspire 4830T", CXT_FIXUP_ASPIRE_DMIC), 1076 + SND_PCI_QUIRK(0x1025, 0x136d, "Acer Swift SF314", CXT_FIXUP_ACER_SWIFT_HP), 1085 1077 SND_PCI_QUIRK(0x103c, 0x8079, "HP EliteBook 840 G3", CXT_FIXUP_HP_DOCK), 1086 1078 SND_PCI_QUIRK(0x103c, 0x807C, "HP EliteBook 820 G3", CXT_FIXUP_HP_DOCK), 1087 1079 SND_PCI_QUIRK(0x103c, 0x80FD, "HP ProBook 640 G2", CXT_FIXUP_HP_DOCK),
+1
sound/hda/codecs/hdmi/hdmi.c
··· 1557 1557 SND_PCI_QUIRK(0x1043, 0x86ae, "ASUS", 1), /* Z170 PRO */ 1558 1558 SND_PCI_QUIRK(0x1043, 0x86c7, "ASUS", 1), /* Z170M PLUS */ 1559 1559 SND_PCI_QUIRK(0x1462, 0xec94, "MS-7C94", 1), 1560 + SND_PCI_QUIRK(0x1558, 0x14a1, "TUXEDO InfinityBook S 14 Gen6", 1), 1560 1561 SND_PCI_QUIRK(0x8086, 0x2060, "Intel NUC5CPYB", 1), 1561 1562 SND_PCI_QUIRK(0x8086, 0x2081, "Intel NUC 10", 1), 1562 1563 {}
+13 -1
sound/hda/codecs/realtek/alc269.c
··· 3886 3886 ALC294_FIXUP_ASUS_MIC, 3887 3887 ALC294_FIXUP_ASUS_HEADSET_MIC, 3888 3888 ALC294_FIXUP_ASUS_I2C_HEADSET_MIC, 3889 + ALC294_FIXUP_ASUS_SPI_HEADSET_MIC, 3889 3890 ALC294_FIXUP_ASUS_SPK, 3890 3891 ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE, 3891 3892 ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE, ··· 5236 5235 }, 5237 5236 .chained = true, 5238 5237 .chain_id = ALC287_FIXUP_CS35L41_I2C_2 5238 + }, 5239 + [ALC294_FIXUP_ASUS_SPI_HEADSET_MIC] = { 5240 + .type = HDA_FIXUP_PINS, 5241 + .v.pins = (const struct hda_pintbl[]) { 5242 + { 0x19, 0x04a11020 }, /* use as headset mic */ 5243 + { } 5244 + }, 5245 + .chained = true, 5246 + .chain_id = ALC245_FIXUP_CS35L41_SPI_2 5239 5247 }, 5240 5248 [ALC294_FIXUP_ASUS_SPK] = { 5241 5249 .type = HDA_FIXUP_VERBS, ··· 7199 7189 SND_PCI_QUIRK(0x1043, 0x19ce, "ASUS B9450FA", ALC294_FIXUP_ASUS_HPE), 7200 7190 SND_PCI_QUIRK(0x1043, 0x19e1, "ASUS UX581LV", ALC295_FIXUP_ASUS_MIC_NO_PRESENCE), 7201 7191 SND_PCI_QUIRK(0x1043, 0x1a13, "Asus G73Jw", ALC269_FIXUP_ASUS_G73JW), 7202 - SND_PCI_QUIRK(0x1043, 0x1a63, "ASUS UX3405MA", ALC245_FIXUP_CS35L41_SPI_2), 7192 + SND_PCI_QUIRK(0x1043, 0x1a63, "ASUS UX3405MA", ALC294_FIXUP_ASUS_SPI_HEADSET_MIC), 7203 7193 SND_PCI_QUIRK(0x1043, 0x1a83, "ASUS UM5302LA", ALC294_FIXUP_CS35L41_I2C_2), 7204 7194 SND_PCI_QUIRK(0x1043, 0x1a8e, "ASUS G712LWS", ALC294_FIXUP_LENOVO_MIC_LOCATION), 7205 7195 SND_PCI_QUIRK(0x1043, 0x1a8f, "ASUS UX582ZS", ALC245_FIXUP_CS35L41_SPI_2), ··· 7328 7318 SND_PCI_QUIRK(0x144d, 0xc872, "Samsung Galaxy Book2 Pro (NP950XEE)", ALC298_FIXUP_SAMSUNG_AMP_V2_2_AMPS), 7329 7319 SND_PCI_QUIRK(0x144d, 0xc886, "Samsung Galaxy Book3 Pro (NP964XFG)", ALC298_FIXUP_SAMSUNG_AMP_V2_4_AMPS), 7330 7320 SND_PCI_QUIRK(0x144d, 0xc1ca, "Samsung Galaxy Book3 Pro 360 (NP960QFG)", ALC298_FIXUP_SAMSUNG_AMP_V2_4_AMPS), 7321 + SND_PCI_QUIRK(0x144d, 0xc1cb, "Samsung Galaxy Book3 Pro 360 (NP965QFG)", ALC298_FIXUP_SAMSUNG_AMP_V2_4_AMPS), 7331 7322 SND_PCI_QUIRK(0x144d, 0xc1cc, "Samsung Galaxy Book3 Ultra (NT960XFH)", ALC298_FIXUP_SAMSUNG_AMP_V2_4_AMPS), 7323 + SND_PCI_QUIRK(0x1458, 0x900e, "Gigabyte G5 KF5 (2023)", ALC2XX_FIXUP_HEADSET_MIC), 7332 7324 SND_PCI_QUIRK(0x1458, 0xfa53, "Gigabyte BXBT-2807", ALC283_FIXUP_HEADSET_MIC), 7333 7325 SND_PCI_QUIRK(0x1462, 0xb120, "MSI Cubi MS-B120", ALC283_FIXUP_HEADSET_MIC), 7334 7326 SND_PCI_QUIRK(0x1462, 0xb171, "Cubi N 8GL (MS-B171)", ALC283_FIXUP_HEADSET_MIC),
+7 -13
sound/hda/codecs/side-codecs/tas2781_hda_spi.c
··· 631 631 struct tasdevice_priv *tas_priv = context; 632 632 struct tas2781_hda *tas_hda = dev_get_drvdata(tas_priv->dev); 633 633 struct hda_codec *codec = tas_priv->codec; 634 - int ret, val; 634 + int ret; 635 635 636 636 guard(pm_runtime_active_auto)(tas_priv->dev); 637 637 guard(mutex)(&tas_priv->codec_lock); ··· 670 670 tas_priv->rcabin.profile_cfg_id = 0; 671 671 672 672 tas_priv->fw_state = TASDEVICE_DSP_FW_ALL_OK; 673 - ret = tasdevice_spi_dev_read(tas_priv, tas_priv->index, 674 - TAS2781_REG_CLK_CONFIG, &val); 675 - if (ret < 0) 676 - goto out; 677 673 678 - if (val == TAS2781_REG_CLK_CONFIG_RESET) { 679 - ret = tasdevice_prmg_load(tas_priv, 0); 680 - if (ret < 0) { 681 - dev_err(tas_priv->dev, "FW download failed = %d\n", 682 - ret); 683 - goto out; 684 - } 685 - tas_priv->fw_state = TASDEVICE_DSP_FW_ALL_OK; 674 + ret = tasdevice_prmg_load(tas_priv, 0); 675 + if (ret < 0) { 676 + dev_err(tas_priv->dev, "FW download failed = %d\n", ret); 677 + goto out; 686 678 } 679 + tas_priv->fw_state = TASDEVICE_DSP_FW_ALL_OK; 680 + 687 681 if (tas_priv->fmw->nr_programs > 0) 688 682 tas_priv->tasdevice[tas_priv->index].cur_prog = 0; 689 683 if (tas_priv->fmw->nr_configurations > 0)
+1
sound/hda/core/trace.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * tracepoint definitions for HD-audio core drivers 3 4 */
+1
sound/isa/gus/interwave-stb.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 #define SNDRV_STB 2 3 #include "interwave.c"
+1
sound/isa/msnd/msnd_classic.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* The work is in msnd_pinnacle.c, just define MSND_CLASSIC before it. */ 2 3 #define MSND_CLASSIC 3 4 #include "msnd_pinnacle.c"
+1
sound/isa/opti9xx/opti92x-cs4231.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 #define CS4231 2 3 #include "opti92x-ad1848.c"
+1
sound/isa/opti9xx/opti93x.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 #define OPTi93X 2 3 #include "opti92x-ad1848.c" 3 4
+1 -6
sound/isa/sb/jazz16.c
··· 1 - 1 + // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 3 * jazz16.c - driver for Media Vision Jazz16 based soundcards. 4 4 * Copyright (C) 2009 Krzysztof Helt <krzysztof.h1@wp.pl> 5 5 * Based on patches posted by Rask Ingemann Lambertsen and Rene Herman. 6 6 * Based on OSS Sound Blaster driver. 7 - * 8 - * This file is subject to the terms and conditions of the GNU General Public 9 - * License. See the file COPYING in the main directory of this archive for 10 - * more details. 11 - * 12 7 */ 13 8 14 9 #include <linux/init.h>
+1
sound/isa/sb/sbawe.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 #define SNDRV_SBAWE 2 3 #include "sb16.c"
+1 -4
sound/oss/dmasound/dmasound_core.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * linux/sound/oss/dmasound/dmasound_core.c 3 4 * ··· 21 20 * 22 21 * /dev/sndstat is based on code by Hannu Savolainen, the author of the 23 22 * VoxWare family of drivers. 24 - * 25 - * This file is subject to the terms and conditions of the GNU General Public 26 - * License. See the file COPYING in the main directory of this archive 27 - * for more details. 28 23 * 29 24 * History: 30 25 *
+1 -16
sound/pci/echoaudio/darla20_dsp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /*************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 ************************************************************************* 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -16
sound/pci/echoaudio/darla24_dsp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /*************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 ************************************************************************* 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -16
sound/pci/echoaudio/echo3g_dsp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /**************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 ************************************************************************* 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -16
sound/pci/echoaudio/echoaudio.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /**************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 **************************************************************************** 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -16
sound/pci/echoaudio/echoaudio_3g.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /**************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 ************************************************************************* 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -16
sound/pci/echoaudio/echoaudio_dsp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /**************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 ************************************************************************* 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -16
sound/pci/echoaudio/echoaudio_dsp.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /**************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 ************************************************************************* 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -16
sound/pci/echoaudio/echoaudio_gml.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /**************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 ************************************************************************* 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -16
sound/pci/echoaudio/gina20_dsp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /**************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 ************************************************************************* 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -16
sound/pci/echoaudio/gina24_dsp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /**************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 ************************************************************************* 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -16
sound/pci/echoaudio/indigo_dsp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /**************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 ************************************************************************* 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -16
sound/pci/echoaudio/indigo_express_dsp.c
··· 1 + // SPDX-License-Identifier: LGPL-2.1-or-later 1 2 /************************************************************************ 2 3 3 4 This file is part of Echo Digital Audio's generic driver library. 4 5 Copyright Echo Digital Audio Corporation (c) 1998 - 2005 5 6 All rights reserved 6 7 www.echoaudio.com 7 - 8 - This library is free software; you can redistribute it and/or 9 - modify it under the terms of the GNU Lesser General Public 10 - License as published by the Free Software Foundation; either 11 - version 2.1 of the License, or (at your option) any later version. 12 - 13 - This library is distributed in the hope that it will be useful, 14 - but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 - Lesser General Public License for more details. 17 - 18 - You should have received a copy of the GNU Lesser General Public 19 - License along with this library; if not, write to the Free Software 20 - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 - 22 - ************************************************************************* 23 8 24 9 Translation from C++ and adaptation for use in ALSA-Driver 25 10 were made by Giuliano Pochini <pochini@shiny.it>
+1 -16
sound/pci/echoaudio/indigodj_dsp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /**************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 ************************************************************************* 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -16
sound/pci/echoaudio/indigodjx_dsp.c
··· 1 + // SPDX-License-Identifier: LGPL-2.1-or-later 1 2 /************************************************************************ 2 3 3 4 This file is part of Echo Digital Audio's generic driver library. 4 5 Copyright Echo Digital Audio Corporation (c) 1998 - 2005 5 6 All rights reserved 6 7 www.echoaudio.com 7 - 8 - This library is free software; you can redistribute it and/or 9 - modify it under the terms of the GNU Lesser General Public 10 - License as published by the Free Software Foundation; either 11 - version 2.1 of the License, or (at your option) any later version. 12 - 13 - This library is distributed in the hope that it will be useful, 14 - but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 - Lesser General Public License for more details. 17 - 18 - You should have received a copy of the GNU Lesser General Public 19 - License along with this library; if not, write to the Free Software 20 - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 - 22 - ************************************************************************* 23 8 24 9 Translation from C++ and adaptation for use in ALSA-Driver 25 10 were made by Giuliano Pochini <pochini@shiny.it>
+1 -16
sound/pci/echoaudio/indigoio_dsp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /**************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 ************************************************************************* 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -16
sound/pci/echoaudio/indigoiox_dsp.c
··· 1 + // SPDX-License-Identifier: LGPL-2.1-or-later 1 2 /************************************************************************ 2 3 3 4 This file is part of Echo Digital Audio's generic driver library. 4 5 Copyright Echo Digital Audio Corporation (c) 1998 - 2005 5 6 All rights reserved 6 7 www.echoaudio.com 7 - 8 - This library is free software; you can redistribute it and/or 9 - modify it under the terms of the GNU Lesser General Public 10 - License as published by the Free Software Foundation; either 11 - version 2.1 of the License, or (at your option) any later version. 12 - 13 - This library is distributed in the hope that it will be useful, 14 - but WITHOUT ANY WARRANTY; without even the implied warranty of 15 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 - Lesser General Public License for more details. 17 - 18 - You should have received a copy of the GNU Lesser General Public 19 - License along with this library; if not, write to the Free Software 20 - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 - 22 - ************************************************************************* 23 8 24 9 Translation from C++ and adaptation for use in ALSA-Driver 25 10 were made by Giuliano Pochini <pochini@shiny.it>
+1 -16
sound/pci/echoaudio/layla20_dsp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /**************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 ************************************************************************* 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -15
sound/pci/echoaudio/layla24_dsp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /**************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software Foundation. 13 - 14 - This program is distributed in the hope that it will be useful, 15 - but WITHOUT ANY WARRANTY; without even the implied warranty of 16 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 - GNU General Public License for more details. 18 - 19 - You should have received a copy of the GNU General Public License 20 - along with this program; if not, write to the Free Software 21 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 22 - MA 02111-1307, USA. 23 - 24 8 ************************************************************************* 25 9 26 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -16
sound/pci/echoaudio/mia_dsp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /**************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 ************************************************************************* 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -16
sound/pci/echoaudio/midi.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /**************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 ************************************************************************* 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1 -16
sound/pci/echoaudio/mona_dsp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /**************************************************************************** 2 3 3 4 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 ··· 6 5 www.echoaudio.com 7 6 8 7 This file is part of Echo Digital Audio's generic driver library. 9 - 10 - Echo Digital Audio's generic driver library is free software; 11 - you can redistribute it and/or modify it under the terms of 12 - the GNU General Public License as published by the Free Software 13 - Foundation. 14 - 15 - This program is distributed in the hope that it will be useful, 16 - but WITHOUT ANY WARRANTY; without even the implied warranty of 17 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 - GNU General Public License for more details. 19 - 20 - You should have received a copy of the GNU General Public License 21 - along with this program; if not, write to the Free Software 22 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, 23 - MA 02111-1307, USA. 24 - 25 8 ************************************************************************* 26 9 27 10 Translation from C++ and adaptation for use in ALSA-Driver
+1
sound/pci/ens1371.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 #define CHIP1371 2 3 #include "ens1370.c"
+16
sound/soc/amd/acp/acp-sdw-legacy-mach.c
··· 95 95 }, 96 96 .driver_data = (void *)(ASOC_SDW_CODEC_SPKR), 97 97 }, 98 + { 99 + .callback = soc_sdw_quirk_cb, 100 + .matches = { 101 + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), 102 + DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "21YW"), 103 + }, 104 + .driver_data = (void *)(ASOC_SDW_CODEC_SPKR), 105 + }, 106 + { 107 + .callback = soc_sdw_quirk_cb, 108 + .matches = { 109 + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), 110 + DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "21YX"), 111 + }, 112 + .driver_data = (void *)(ASOC_SDW_CODEC_SPKR), 113 + }, 98 114 {} 99 115 }; 100 116
+37
sound/soc/amd/acp/amd-acp70-acpi-match.c
··· 531 531 {} 532 532 }; 533 533 534 + static const struct snd_soc_acpi_adr_device rt1320_0_single_adr[] = { 535 + { 536 + .adr = 0x000030025D132001ull, 537 + .num_endpoints = 1, 538 + .endpoints = &single_endpoint, 539 + .name_prefix = "rt1320-1" 540 + } 541 + }; 542 + 543 + static const struct snd_soc_acpi_adr_device rt722_1_single_adr[] = { 544 + { 545 + .adr = 0x000130025d072201ull, 546 + .num_endpoints = ARRAY_SIZE(rt722_endpoints), 547 + .endpoints = rt722_endpoints, 548 + .name_prefix = "rt722" 549 + } 550 + }; 551 + 552 + static const struct snd_soc_acpi_link_adr acp70_rt1320_l0_rt722_l1[] = { 553 + { 554 + .mask = BIT(0), 555 + .num_adr = ARRAY_SIZE(rt1320_0_single_adr), 556 + .adr_d = rt1320_0_single_adr, 557 + }, 558 + { 559 + .mask = BIT(1), 560 + .num_adr = ARRAY_SIZE(rt722_1_single_adr), 561 + .adr_d = rt722_1_single_adr, 562 + }, 563 + {} 564 + }; 565 + 534 566 struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sdw_machines[] = { 567 + { 568 + .link_mask = BIT(0) | BIT(1), 569 + .links = acp70_rt1320_l0_rt722_l1, 570 + .drv_name = "amd_sdw", 571 + }, 535 572 { 536 573 .link_mask = BIT(0) | BIT(1), 537 574 .links = acp70_rt722_l0_rt1320_l1,
+7 -1
sound/soc/amd/yc/acp6x-mach.c
··· 696 696 DMI_MATCH(DMI_BOARD_NAME, "XyloD5_RBU"), 697 697 } 698 698 }, 699 - 699 + { 700 + .driver_data = &acp6x_card, 701 + .matches = { 702 + DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."), 703 + DMI_MATCH(DMI_PRODUCT_NAME, "Vivobook_ASUSLaptop M6501RR_M6501RR"), 704 + } 705 + }, 700 706 {} 701 707 }; 702 708
+2 -1
sound/soc/codecs/aw88261.c
··· 424 424 if (ret) 425 425 break; 426 426 427 + /* keep all three bits from current hw status */ 427 428 read_val &= (~AW88261_AMPPD_MASK) | (~AW88261_PWDN_MASK) | 428 429 (~AW88261_HMUTE_MASK); 429 - reg_val &= (AW88261_AMPPD_MASK | AW88261_PWDN_MASK | AW88261_HMUTE_MASK); 430 + reg_val &= (AW88261_AMPPD_MASK & AW88261_PWDN_MASK & AW88261_HMUTE_MASK); 430 431 reg_val |= read_val; 431 432 432 433 /* enable uls hmute */
+2 -2
sound/soc/codecs/rt721-sdca.c
··· 245 245 regmap_write(rt721->mbq_regmap, 0x5b10007, 0x2000); 246 246 regmap_write(rt721->mbq_regmap, 0x5B10017, 0x1b0f); 247 247 rt_sdca_index_write(rt721->mbq_regmap, RT721_CBJ_CTRL, 248 - RT721_CBJ_A0_GAT_CTRL1, 0x2a02); 248 + RT721_CBJ_A0_GAT_CTRL1, 0x2205); 249 249 rt_sdca_index_write(rt721->mbq_regmap, RT721_CAP_PORT_CTRL, 250 250 RT721_HP_AMP_2CH_CAL4, 0xa105); 251 251 rt_sdca_index_write(rt721->mbq_regmap, RT721_VENDOR_ANA_CTL, 252 252 RT721_UAJ_TOP_TCON14, 0x3b33); 253 - regmap_write(rt721->mbq_regmap, 0x310400, 0x3023); 253 + regmap_write(rt721->mbq_regmap, 0x310400, 0x3043); 254 254 rt_sdca_index_write(rt721->mbq_regmap, RT721_VENDOR_ANA_CTL, 255 255 RT721_UAJ_TOP_TCON14, 0x3f33); 256 256 rt_sdca_index_write(rt721->mbq_regmap, RT721_VENDOR_ANA_CTL,
+43
sound/soc/codecs/tas2783-sdw.c
··· 1216 1216 return tas_io_init(&slave->dev, slave); 1217 1217 } 1218 1218 1219 + /* 1220 + * TAS2783 requires explicit port prepare during playback stream 1221 + * setup even when simple_ch_prep_sm is enabled. Without this, 1222 + * the port fails to enter the prepared state resulting in no audio output. 1223 + */ 1224 + static int tas_port_prep(struct sdw_slave *slave, struct sdw_prepare_ch *prep_ch, 1225 + enum sdw_port_prep_ops pre_ops) 1226 + { 1227 + struct device *dev = &slave->dev; 1228 + struct sdw_dpn_prop *dpn_prop; 1229 + u32 addr; 1230 + int ret; 1231 + 1232 + dpn_prop = slave->prop.sink_dpn_prop; 1233 + if (!dpn_prop || !dpn_prop->simple_ch_prep_sm) 1234 + return 0; 1235 + 1236 + addr = SDW_DPN_PREPARECTRL(prep_ch->num); 1237 + switch (pre_ops) { 1238 + case SDW_OPS_PORT_PRE_PREP: 1239 + ret = sdw_write_no_pm(slave, addr, prep_ch->ch_mask); 1240 + if (ret) 1241 + dev_err(dev, "prep failed for port %d, err=%d\n", 1242 + prep_ch->num, ret); 1243 + return ret; 1244 + 1245 + case SDW_OPS_PORT_PRE_DEPREP: 1246 + ret = sdw_write_no_pm(slave, addr, 0x00); 1247 + if (ret) 1248 + dev_err(dev, "de-prep failed for port %d, err=%d\n", 1249 + prep_ch->num, ret); 1250 + return ret; 1251 + 1252 + case SDW_OPS_PORT_POST_PREP: 1253 + case SDW_OPS_PORT_POST_DEPREP: 1254 + /* No POST handling required for TAS2783 */ 1255 + return 0; 1256 + } 1257 + 1258 + return 0; 1259 + } 1260 + 1219 1261 static const struct sdw_slave_ops tas_sdw_ops = { 1220 1262 .update_status = tas_update_status, 1263 + .port_prep = tas_port_prep, 1221 1264 }; 1222 1265 1223 1266 static void tas_remove(struct tas2783_prv *tas_dev)
-3
sound/soc/fsl/fsl_xcvr.c
··· 223 223 224 224 xcvr->mode = snd_soc_enum_item_to_val(e, item[0]); 225 225 226 - down_read(&card->snd_card->controls_rwsem); 227 226 fsl_xcvr_activate_ctl(dai, fsl_xcvr_arc_mode_kctl.name, 228 227 (xcvr->mode == FSL_XCVR_MODE_ARC)); 229 228 fsl_xcvr_activate_ctl(dai, fsl_xcvr_earc_capds_kctl.name, 230 229 (xcvr->mode == FSL_XCVR_MODE_EARC)); 231 - up_read(&card->snd_card->controls_rwsem); 232 - 233 230 /* Allow playback for SPDIF only */ 234 231 rtd = snd_soc_get_pcm_runtime(card, card->dai_link); 235 232 rtd->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream_count =
+8
sound/soc/qcom/sm8250.c
··· 104 104 snd_soc_dai_set_fmt(cpu_dai, fmt); 105 105 snd_soc_dai_set_fmt(codec_dai, codec_dai_fmt); 106 106 break; 107 + case QUINARY_MI2S_RX: 108 + codec_dai_fmt |= SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_I2S; 109 + snd_soc_dai_set_sysclk(cpu_dai, 110 + Q6AFE_LPASS_CLK_ID_QUI_MI2S_IBIT, 111 + MI2S_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); 112 + snd_soc_dai_set_fmt(cpu_dai, fmt); 113 + snd_soc_dai_set_fmt(codec_dai, codec_dai_fmt); 114 + break; 107 115 default: 108 116 break; 109 117 }
+1 -1
sound/soc/renesas/rz-ssi.c
··· 180 180 static inline struct rz_ssi_stream * 181 181 rz_ssi_stream_get(struct rz_ssi_priv *ssi, struct snd_pcm_substream *substream) 182 182 { 183 - return (ssi->playback.substream == substream) ? &ssi->playback : &ssi->capture; 183 + return (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? &ssi->playback : &ssi->capture; 184 184 } 185 185 186 186 static inline bool rz_ssi_is_dma_enabled(struct rz_ssi_priv *ssi)
+10
sound/soc/rockchip/rockchip_i2s_tdm.c
··· 22 22 23 23 #define DRV_NAME "rockchip-i2s-tdm" 24 24 25 + #define DEFAULT_MCLK_FS 256 25 26 #define CH_GRP_MAX 4 /* The max channel 8 / 2 */ 26 27 #define MULTIPLEX_CH_MAX 10 27 28 ··· 665 664 mclk = i2s_tdm->mclk_rx; 666 665 mclk_rate = i2s_tdm->mclk_rx_freq; 667 666 } 667 + 668 + /* 669 + * When the dai/component driver doesn't need to set mclk-fs for a specific 670 + * clock, it can skip the call to set_sysclk() for that clock. 671 + * In that case, simply use the clock rate from the params and multiply it by 672 + * the default mclk-fs value. 673 + */ 674 + if (!mclk_rate) 675 + mclk_rate = DEFAULT_MCLK_FS * params_rate(params); 668 676 669 677 err = clk_set_rate(mclk, mclk_rate); 670 678 if (err)
+1 -1
sound/usb/card.h
··· 90 90 struct snd_urb_ctx urb[MAX_URBS]; 91 91 92 92 struct snd_usb_packet_info { 93 - uint32_t packet_size[MAX_PACKS_HS]; 93 + int packet_size[MAX_PACKS_HS]; 94 94 int packets; 95 95 } next_packet[MAX_URBS]; 96 96 unsigned int next_packet_head; /* ring buffer offset to read */
+39 -28
sound/usb/endpoint.c
··· 275 275 return chip->quirk_flags & QUIRK_FLAG_TX_LENGTH; 276 276 } 277 277 278 - static void prepare_silent_urb(struct snd_usb_endpoint *ep, 279 - struct snd_urb_ctx *ctx) 278 + static int prepare_silent_urb(struct snd_usb_endpoint *ep, 279 + struct snd_urb_ctx *ctx) 280 280 { 281 281 struct urb *urb = ctx->urb; 282 282 unsigned int offs = 0; ··· 289 289 extra = sizeof(packet_length); 290 290 291 291 for (i = 0; i < ctx->packets; ++i) { 292 - unsigned int offset; 293 - unsigned int length; 294 - int counts; 292 + int length; 295 293 296 - counts = snd_usb_endpoint_next_packet_size(ep, ctx, i, 0); 297 - length = counts * ep->stride; /* number of silent bytes */ 298 - offset = offs * ep->stride + extra * i; 299 - urb->iso_frame_desc[i].offset = offset; 294 + length = snd_usb_endpoint_next_packet_size(ep, ctx, i, 0); 295 + if (length < 0) 296 + return length; 297 + length *= ep->stride; /* number of silent bytes */ 298 + if (offs + length + extra > ctx->buffer_size) 299 + break; 300 + urb->iso_frame_desc[i].offset = offs; 300 301 urb->iso_frame_desc[i].length = length + extra; 301 302 if (extra) { 302 303 packet_length = cpu_to_le32(length); 303 - memcpy(urb->transfer_buffer + offset, 304 + memcpy(urb->transfer_buffer + offs, 304 305 &packet_length, sizeof(packet_length)); 306 + offs += extra; 305 307 } 306 - memset(urb->transfer_buffer + offset + extra, 308 + memset(urb->transfer_buffer + offs, 307 309 ep->silence_value, length); 308 - offs += counts; 310 + offs += length; 309 311 } 310 312 311 - urb->number_of_packets = ctx->packets; 312 - urb->transfer_buffer_length = offs * ep->stride + ctx->packets * extra; 313 + if (!offs) 314 + return -EPIPE; 315 + 316 + urb->number_of_packets = i; 317 + urb->transfer_buffer_length = offs; 313 318 ctx->queued = 0; 319 + return 0; 314 320 } 315 321 316 322 /* ··· 338 332 if (data_subs && ep->prepare_data_urb) 339 333 return ep->prepare_data_urb(data_subs, urb, in_stream_lock); 340 334 /* no data provider, so send silence */ 341 - prepare_silent_urb(ep, ctx); 342 - break; 335 + return prepare_silent_urb(ep, ctx); 343 336 344 337 case SND_USB_ENDPOINT_TYPE_SYNC: 345 338 if (snd_usb_get_speed(ep->chip->dev) >= USB_SPEED_HIGH) { ··· 402 397 } 403 398 404 399 /* notify an error as XRUN to the assigned PCM data substream */ 405 - static void notify_xrun(struct snd_usb_endpoint *ep) 400 + static bool notify_xrun(struct snd_usb_endpoint *ep) 406 401 { 407 402 struct snd_usb_substream *data_subs; 408 403 struct snd_pcm_substream *psubs; 409 404 410 405 data_subs = READ_ONCE(ep->data_subs); 411 406 if (!data_subs) 412 - return; 407 + return false; 413 408 psubs = data_subs->pcm_substream; 414 409 if (psubs && psubs->runtime && 415 - psubs->runtime->state == SNDRV_PCM_STATE_RUNNING) 410 + psubs->runtime->state == SNDRV_PCM_STATE_RUNNING) { 416 411 snd_pcm_stop_xrun(psubs); 412 + return true; 413 + } 414 + return false; 417 415 } 418 416 419 417 static struct snd_usb_packet_info * ··· 470 462 while (ep_state_running(ep)) { 471 463 struct snd_usb_packet_info *packet; 472 464 struct snd_urb_ctx *ctx = NULL; 473 - int err, i; 465 + int err; 474 466 475 467 scoped_guard(spinlock_irqsave, &ep->lock) { 476 468 if ((!implicit_fb || ep->next_packet_queued > 0) && ··· 489 481 490 482 /* copy over the length information */ 491 483 if (implicit_fb) { 492 - for (i = 0; i < packet->packets; i++) 493 - ctx->packet_size[i] = packet->packet_size[i]; 484 + ctx->packets = packet->packets; 485 + memcpy(ctx->packet_size, packet->packet_size, 486 + packet->packets * sizeof(packet->packet_size[0])); 494 487 } 495 488 496 489 /* call the data handler to fill in playback data */ ··· 597 588 return; 598 589 599 590 if (!atomic_read(&ep->chip->shutdown)) { 600 - usb_audio_err(ep->chip, "cannot submit urb (err = %d)\n", err); 601 - notify_xrun(ep); 591 + if (notify_xrun(ep)) 592 + usb_audio_err(ep->chip, 593 + "cannot submit urb (err = %d)\n", err); 602 594 } 603 595 604 596 exit_clear: ··· 1783 1773 spin_lock_irqsave(&ep->lock, flags); 1784 1774 if (ep->next_packet_queued >= ARRAY_SIZE(ep->next_packet)) { 1785 1775 spin_unlock_irqrestore(&ep->lock, flags); 1786 - usb_audio_err(ep->chip, 1787 - "next package FIFO overflow EP 0x%x\n", 1788 - ep->ep_num); 1789 - notify_xrun(ep); 1776 + if (notify_xrun(ep)) { 1777 + usb_audio_err(ep->chip, 1778 + "next packet FIFO overflow EP 0x%x\n", 1779 + ep->ep_num); 1780 + } 1790 1781 return; 1791 1782 } 1792 1783
+2
sound/usb/quirks.c
··· 2148 2148 /* Device matches */ 2149 2149 DEVICE_FLG(0x001f, 0x0b21, /* AB13X USB Audio */ 2150 2150 QUIRK_FLAG_FORCE_IFACE_RESET | QUIRK_FLAG_IFACE_DELAY), 2151 + DEVICE_FLG(0x0020, 0x0b21, /* GHW-123P */ 2152 + QUIRK_FLAG_FORCE_IFACE_RESET | QUIRK_FLAG_IFACE_DELAY), 2151 2153 DEVICE_FLG(0x03f0, 0x654a, /* HP 320 FHD Webcam */ 2152 2154 QUIRK_FLAG_GET_SAMPLE_RATE | QUIRK_FLAG_MIC_RES_16), 2153 2155 DEVICE_FLG(0x041e, 0x3000, /* Creative SB Extigy */