Commit 227d2c31 authored by Takashi Iwai's avatar Takashi Iwai

Merge tag 'asoc-fix-v6.4-rc6-2' of...

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.
parents 122e2cb7 f9fd804a
...@@ -2124,6 +2124,7 @@ static int cs_dsp_load_coeff(struct cs_dsp *dsp, const struct firmware *firmware ...@@ -2124,6 +2124,7 @@ static int cs_dsp_load_coeff(struct cs_dsp *dsp, const struct firmware *firmware
file, blocks, le32_to_cpu(blk->len), file, blocks, le32_to_cpu(blk->len),
type, le32_to_cpu(blk->id)); type, le32_to_cpu(blk->id));
region_name = cs_dsp_mem_region_name(type);
mem = cs_dsp_find_region(dsp, type); mem = cs_dsp_find_region(dsp, type);
if (!mem) { if (!mem) {
cs_dsp_err(dsp, "No base for region %x\n", type); 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 ...@@ -2147,8 +2148,8 @@ static int cs_dsp_load_coeff(struct cs_dsp *dsp, const struct firmware *firmware
reg = dsp->ops->region_to_reg(mem, reg); reg = dsp->ops->region_to_reg(mem, reg);
reg += offset; reg += offset;
} else { } else {
cs_dsp_err(dsp, "No %x for algorithm %x\n", cs_dsp_err(dsp, "No %s for algorithm %x\n",
type, le32_to_cpu(blk->id)); region_name, le32_to_cpu(blk->id));
} }
break; break;
......
...@@ -117,6 +117,9 @@ int tegra_pcm_open(struct snd_soc_component *component, ...@@ -117,6 +117,9 @@ int tegra_pcm_open(struct snd_soc_component *component,
return ret; return ret;
} }
/* Set wait time to 500ms by default */
substream->wait_time = 500;
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(tegra_pcm_open); EXPORT_SYMBOL_GPL(tegra_pcm_open);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment