Skip to content

Commit 227d2c3

Browse files
committed
Merge tag 'asoc-fix-v6.4-rc6-2' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v6.4 A couple more fixes for v6.4, one fixing a misleading error log and another stopping us seeing spurious failures setting the master volume on some Tegra systems introduced by a change to how we calculate delay times.
2 parents 122e2cb + f9fd804 commit 227d2c3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

drivers/firmware/cirrus/cs_dsp.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2124,6 +2124,7 @@ static int cs_dsp_load_coeff(struct cs_dsp *dsp, const struct firmware *firmware
21242124
file, blocks, le32_to_cpu(blk->len),
21252125
type, le32_to_cpu(blk->id));
21262126

2127+
region_name = cs_dsp_mem_region_name(type);
21272128
mem = cs_dsp_find_region(dsp, type);
21282129
if (!mem) {
21292130
cs_dsp_err(dsp, "No base for region %x\n", type);
@@ -2147,8 +2148,8 @@ static int cs_dsp_load_coeff(struct cs_dsp *dsp, const struct firmware *firmware
21472148
reg = dsp->ops->region_to_reg(mem, reg);
21482149
reg += offset;
21492150
} else {
2150-
cs_dsp_err(dsp, "No %x for algorithm %x\n",
2151-
type, le32_to_cpu(blk->id));
2151+
cs_dsp_err(dsp, "No %s for algorithm %x\n",
2152+
region_name, le32_to_cpu(blk->id));
21522153
}
21532154
break;
21542155

sound/soc/tegra/tegra_pcm.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ int tegra_pcm_open(struct snd_soc_component *component,
117117
return ret;
118118
}
119119

120+
/* Set wait time to 500ms by default */
121+
substream->wait_time = 500;
122+
120123
return 0;
121124
}
122125
EXPORT_SYMBOL_GPL(tegra_pcm_open);

0 commit comments

Comments
 (0)