From: Takashi Iwai Date: Wed, 25 Jul 2018 20:43:26 +0000 (+0200) Subject: ASoC: dapm: Use int for format bit position X-Git-Tag: v4.19~92^2~2^2~105 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ba66feb59810e2ce616da0c4f1a5230c74768a8;p=platform%2Fkernel%2Flinux-rpi3.git ASoC: dapm: Use int for format bit position fmt in snd_soc_dai_link_event() contains the format bit position, not the format bit itself. Hence it can be a simple integer instead of the explicit u64. Signed-off-by: Takashi Iwai Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 0602b28..7e96793 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -3656,7 +3656,7 @@ static int snd_soc_dai_link_event(struct snd_soc_dapm_widget *w, struct snd_pcm_substream substream; struct snd_pcm_hw_params *params = NULL; struct snd_pcm_runtime *runtime = NULL; - u64 fmt; + unsigned int fmt; int ret; if (WARN_ON(!config) ||