]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: tegra: Fix DSPK 16-bit playback
authorSameer Pujar <spujar@nvidia.com>
Fri, 5 Apr 2024 10:43:06 +0000 (10:43 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2024 10:15:04 +0000 (12:15 +0200)
commit1af0595d991a39ff4c9fd1b56b0fc6003cbdbc77
tree88e546d8358860c5469f2d1a9ab38b7d49dee779
parent74022f08e03da2dbf61bd7dd5dcffcc1f0cfbc58
ASoC: tegra: Fix DSPK 16-bit playback

commit 2e93a29b48a017c777d4fcbfcc51aba4e6a90d38 upstream.

DSPK configuration is wrong for 16-bit playback and this happens because
the client config is always fixed at 24-bit in hw_params(). Fix this by
updating the client config to 16-bit for the respective playback.

Fixes: 327ef6470266 ("ASoC: tegra: Add Tegra186 based DSPK driver")
Cc: stable@vger.kernel.org
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://msgid.link/r/20240405104306.551036-1-spujar@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/tegra/tegra186_dspk.c