diff options
author | Min-Hua Chen <minhuadotchen@gmail.com> | 2023-05-20 05:16:36 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-30 13:43:38 +0100 |
commit | c3079282fdf7285b4133d6d1a7901b7923d6db09 (patch) | |
tree | b229f5b85e7b8b895908f0052b4c118b8cc9bd2e /fs | |
parent | e89f45edb747ed88e97a5771dd6d3dd1eb517873 (diff) |
ASoC: ti: davinci-mcasp: Use pcm_for_each_format() macro
Use pcm_for_each_format for the PCM format iteration and fix the
following sparse warnings.
sound/soc/ti/davinci-mcasp.c:1336:26: sparse: warning: restricted snd_pcm_format_t degrades to integer
sound/soc/ti/davinci-mcasp.c:1358:26: sparse: warning: restricted snd_pcm_format_t degrades to integer
sound/soc/ti/davinci-mcasp.c:1438:26: sparse: warning: restricted snd_pcm_format_t degrades to integer
No functional changes.
Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com>
Link: https://lore.kernel.org/r/20230519211636.3699-1-minhuadotchen@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions