ASoC: tegra: tegra210_adx: fix snd_pcm_format_t type
authorMin-Hua Chen <minhuadotchen@gmail.com>
Tue, 16 May 2023 22:36:59 +0000 (06:36 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 17 May 2023 01:37:43 +0000 (10:37 +0900)
commit35f8a9d87ca4f920526e6063df570490b41295fc
tree57364ce6ee81f0f731be4cfc24399c8f38af9ec2
parent268777caf0dd8d3c852cccb949ae73b7ea7b2f5e
ASoC: tegra: tegra210_adx: fix snd_pcm_format_t type

use snd_pcm_format_t instead of unsigned int to fix
the following sparse warnings:

sound/soc/tegra/tegra210_adx.c:125:14: sparse: warning: restricted snd_pcm_format_t degrades to integer
sound/soc/tegra/tegra210_adx.c:128:14: sparse: warning: restricted snd_pcm_format_t degrades to integer
sound/soc/tegra/tegra210_adx.c:131:14: sparse: warning: restricted snd_pcm_format_t degrades to integer

Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com
Link: https://lore.kernel.org/r/20230516223700.185569-1-minhuadotchen@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org
sound/soc/tegra/tegra210_adx.c