diff options
| author | Takashi Iwai <[email protected]> | 2018-07-25 22:40:49 +0200 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2018-07-26 15:48:19 +0100 |
| commit | c889a45d229938a94b50aadb819def8bb11a6a54 (patch) | |
| tree | bfa4ba657e68153a59d3c7d3e9b28c1beda0c902 /tools/perf/scripts/python | |
| parent | 150a6dc8fc764c1912fa2a46e18d1505dfd3536f (diff) | |
ASoC: zte: Fix incorrect PCM format bit usages
zx-tdm driver sets the DAI driver definitions with the format bits
wrongly set with SNDRV_PCM_FORMAT_*, instead of SNDRV_PCM_FMTBIT_*.
This patch corrects the definitions.
Spotted by a sparse warning:
sound/soc/zte/zx-tdm.c:363:35: warning: restricted snd_pcm_format_t degrades to integer
Fixes: 870e0ddc4345 ("ASoC: zx-tdm: add zte's tdm controller driver")
Cc: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions