diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-07-25 23:17:22 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-07-26 18:09:09 +0200 |
commit | 8adf3df4156345f1edcdfa8c7f7beeb0de351ce2 (patch) | |
tree | c9907bffebbf625eff3596d7d7ddb20834833328 /README | |
parent | ASoC: pcm186x: Declare PCM format with snd_pcm_format_t (diff) | |
download | linux-8adf3df4156345f1edcdfa8c7f7beeb0de351ce2.tar.xz linux-8adf3df4156345f1edcdfa8c7f7beeb0de351ce2.zip |
ASoC: dmaengine: Use standard pcm_format_to_bits() macro
The conversion from PCM format type to bits needs an explicit cast,
and it'll be uglier. Since we have a standard macro for that, let's
use it instead.
This patch fixes the sparse warning:
sound/soc/soc-generic-dmaengine-pcm.c:200:63: warning: restricted snd_pcm_format_t degrades to integer
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions