Skip to content

Commit

Permalink
Merge tag 'sound-6.11' of git://git.kernel.org/pub/scm/linux/kernel/g…
Browse files Browse the repository at this point in the history
…it/tiwai/sound

Pull sound fixes from Takashi Iwai:
 "A few last-minute ASoC fixes and MAINTAINERS update.

  All look small, obvious and nice-to-have fixes for 6.11-final"

* tag 'sound-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
  ASoC: meson: axg-card: fix 'use-after-free'
  ASoC: codecs: avoid possible garbage value in peb2466_reg_read()
  MAINTAINERS: update Pierre Bossart's email and role
  ASoC: tas2781: fix to save the dsp bin file name into the correct array in case name_prefix is not NULL
  ASoC: Intel: soc-acpi-intel-mtl-match: add missing empty item
  ASoC: Intel: soc-acpi-intel-lnl-match: add missing empty item
  • Loading branch information
torvalds committed Sep 14, 2024
2 parents d9bc226 + 134536c commit 5771977
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ Pavankumar Kondeti <[email protected]> <[email protected]>
Peter A Jonsson <[email protected]>
Peter Oruba <[email protected]>
Peter Oruba <[email protected]>
Pierre-Louis Bossart <[email protected]> <[email protected]>
Pratyush Anand <[email protected]> <[email protected]>
Praveen BP <[email protected]>
Pradeep Kumar Chitrapu <[email protected]> <[email protected]>
Expand Down
6 changes: 3 additions & 3 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -11156,12 +11156,12 @@ F: drivers/gpio/gpio-i8255.h

INTEL ASoC DRIVERS
M: Cezary Rojewski <[email protected]>
M: Pierre-Louis Bossart <[email protected]>
M: Liam Girdwood <[email protected]>
M: Peter Ujfalusi <[email protected]>
M: Bard Liao <[email protected]>
M: Ranjani Sridharan <[email protected]>
M: Kai Vehmanen <[email protected]>
R: Pierre-Louis Bossart <[email protected]>
L: [email protected] (moderated for non-subscribers)
S: Supported
F: sound/soc/intel/
Expand Down Expand Up @@ -21391,13 +21391,13 @@ S: Maintained
F: tools/sound/dapm-graph

SOUND - SOUND OPEN FIRMWARE (SOF) DRIVERS
M: Pierre-Louis Bossart <[email protected]>
M: Liam Girdwood <[email protected]>
M: Peter Ujfalusi <[email protected]>
M: Bard Liao <[email protected]>
M: Ranjani Sridharan <[email protected]>
M: Daniel Baluta <[email protected]>
R: Kai Vehmanen <[email protected]>
R: Pierre-Louis Bossart <[email protected]>
L: [email protected] (moderated for non-subscribers)
S: Supported
W: https://github.com/thesofproject/linux/
Expand All @@ -21406,7 +21406,7 @@ F: sound/soc/sof/
SOUNDWIRE SUBSYSTEM
M: Vinod Koul <[email protected]>
M: Bard Liao <[email protected]>
R: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
R: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
R: Sanyog Kale <[email protected]>
L: [email protected] (moderated for non-subscribers)
S: Supported
Expand Down
3 changes: 2 additions & 1 deletion sound/soc/codecs/peb2466.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ static int peb2466_reg_read(void *context, unsigned int reg, unsigned int *val)
case PEB2466_CMD_XOP:
case PEB2466_CMD_SOP:
ret = peb2466_read_byte(peb2466, reg, &tmp);
*val = tmp;
if (!ret)
*val = tmp;
break;
default:
dev_err(&peb2466->spi->dev, "Not a XOP or SOP command\n");
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/codecs/tas2781-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ static void tasdevice_fw_ready(const struct firmware *fmw,
*/
tas_priv->fw_state = TASDEVICE_RCA_FW_OK;
if (tas_priv->name_prefix)
scnprintf(tas_priv->rca_binaryname, 64, "%s-%s_coef.bin",
scnprintf(tas_priv->coef_binaryname, 64, "%s-%s_coef.bin",
tas_priv->name_prefix, tas_priv->dev_name);
else
scnprintf(tas_priv->coef_binaryname, 64, "%s_coef.bin",
Expand Down
1 change: 1 addition & 0 deletions sound/soc/intel/common/soc-acpi-intel-lnl-match.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ static const struct snd_soc_acpi_link_adr lnl_cs42l43_l0[] = {
.num_adr = ARRAY_SIZE(cs42l43_0_adr),
.adr_d = cs42l43_0_adr,
},
{}
};

static const struct snd_soc_acpi_link_adr lnl_rvp[] = {
Expand Down
1 change: 1 addition & 0 deletions sound/soc/intel/common/soc-acpi-intel-mtl-match.c
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ static const struct snd_soc_acpi_link_adr mtl_cs42l43_l0[] = {
.num_adr = ARRAY_SIZE(cs42l43_0_adr),
.adr_d = cs42l43_0_adr,
},
{}
};

static const struct snd_soc_acpi_link_adr mtl_cs42l43_cs35l56[] = {
Expand Down
3 changes: 2 additions & 1 deletion sound/soc/meson/axg-card.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static int axg_card_add_tdm_loopback(struct snd_soc_card *card,
int *index)
{
struct meson_card *priv = snd_soc_card_get_drvdata(card);
struct snd_soc_dai_link *pad = &card->dai_link[*index];
struct snd_soc_dai_link *pad;
struct snd_soc_dai_link *lb;
struct snd_soc_dai_link_component *dlc;
int ret;
Expand All @@ -114,6 +114,7 @@ static int axg_card_add_tdm_loopback(struct snd_soc_card *card,
if (ret)
return ret;

pad = &card->dai_link[*index];
lb = &card->dai_link[*index + 1];

lb->name = devm_kasprintf(card->dev, GFP_KERNEL, "%s-lb", pad->name);
Expand Down

0 comments on commit 5771977

Please sign in to comment.