mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
ASoC: tegra-alt: send bytes for period size msg
tegra210_adsp_send_period_size_msg is sending size in period size which is wrong and it should be no of bytes in the period size. Bug 200329032 Change-Id: Ib43569d24dcfeeeac36c878a51affaa347eacf0b Signed-off-by: Mohan Kumar <mkumard@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1519960 Signed-off-by: Sameer Pujar <spujar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1532211 GVS: Gerrit_Virtual_Submit Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
This commit is contained in:
@@ -1691,8 +1691,8 @@ static int tegra210_adsp_pcm_hw_params(struct snd_pcm_substream *substream,
|
|||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
ret = tegra210_adsp_send_period_size_msg(prtd->fe_apm,
|
ret = tegra210_adsp_send_period_size_msg(prtd->fe_apm,
|
||||||
params_period_size(params),
|
params_buffer_bytes(params)/params_periods(params),
|
||||||
TEGRA210_ADSP_MSG_FLAG_SEND);
|
TEGRA210_ADSP_MSG_FLAG_SEND);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user