mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
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. -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmSK+S0ACgkQJNaLcl1U h9BoSAf/ddQv2NM7kH1N7Iu1bEWGZMBi9RyfxHoJPfg4lkG4x26NWCoU6r5N5ymR 0nZRnQs9cDsNoGSr9UDQK4DV6Wv4I4oyeg1O2H+4wGIic9t/XLJIKfVJKrox7jzW cX7gbB6EytGF04ggBmazfNU8CGO2xEAL0gA9ycwceLzIq6ODXapXBVPOuxVjHuns FKCSzDEh2HzuWAmn4FFGH7vGlQbJm9VPAsMXLFNA+Xpr2JKpjfmY/aSR0seKnjHz Zp81Z8buZeFmANbVvZ0WuXfNUltwDjgdwulLDb6cq8Drv2qzUr0VH858Q5duwFIr y2kTbOpZRD2mXLaVyTzUF9yRnKUVEw== =HPCX -----END PGP SIGNATURE----- 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.
This commit is contained in:
commit
227d2c3154
@ -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),
|
||||
type, le32_to_cpu(blk->id));
|
||||
|
||||
region_name = cs_dsp_mem_region_name(type);
|
||||
mem = cs_dsp_find_region(dsp, type);
|
||||
if (!mem) {
|
||||
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
|
||||
reg = dsp->ops->region_to_reg(mem, reg);
|
||||
reg += offset;
|
||||
} else {
|
||||
cs_dsp_err(dsp, "No %x for algorithm %x\n",
|
||||
type, le32_to_cpu(blk->id));
|
||||
cs_dsp_err(dsp, "No %s for algorithm %x\n",
|
||||
region_name, le32_to_cpu(blk->id));
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -117,6 +117,9 @@ int tegra_pcm_open(struct snd_soc_component *component,
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Set wait time to 500ms by default */
|
||||
substream->wait_time = 500;
|
||||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(tegra_pcm_open);
|
||||
|
Loading…
Reference in New Issue
Block a user