diff options
author | Jiaxin Yu <jiaxin.yu@mediatek.com> | 2021-12-09 10:32:24 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-12-14 16:22:18 +0300 |
commit | 03c2192ab636987db72e99f319a942cc4f3cb352 (patch) | |
tree | bed66966cf4e7e57023214a6ce210d575abd2670 /include | |
parent | ec247fea7380244626d7095dfc1a0bb6c1f84f29 (diff) | |
download | linux-03c2192ab636987db72e99f319a942cc4f3cb352.tar.xz |
ASoC: mediatek: assign correct type to argument
Fix the following sparse warning: (new ones prefixed by >>)
>> sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c:370:33:
sparse: sparse: incorrect type in argument 3 (different base types)
sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c:370:33: sparse:
expected unsigned int to
sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c:370:33: sparse:
got restricted snd_pcm_format_t [usertype]
Correct discription of format, use S32_LE and S24_LE to distinguish the
different 32bit.
Signed-off-by: Jiaxin Yu <jiaxin.yu@mediatek.com>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20211209073224.21793-1-jiaxin.yu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions