mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
6d267cc2f6d7cbbf34326f34bc92d3f3f01dec03
During pcm_open for ADSP pcm devices, the buffer allocated is not constrained to be multiple of 4. This results in the apm_process being called continuously for this APM since data is available. However ADMA is not started because of the size mismatch. Setting constraint of period and buffer size (in frames) to be multiple of 4 fixes these issues Bug 2599016 Change-Id: Idaabba29142d9577a4dc72d97aa6bb3cd4f791de Signed-off-by: Hariharan Sivaraman <hariharans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2122112 (cherry picked from commit 82d702154bf2c1a903f32e50a9bc4afdf271d74f) Reviewed-on: https://git-master.nvidia.com/r/2124176 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Uday Gupta <udayg@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Nitin Pai <npai@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Description
No description provided