]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ASoC: dapm: Use int for format bit position
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2018 20:43:26 +0000 (22:43 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 26 Jul 2018 14:48:21 +0000 (15:48 +0100)
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 <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c

index 0602b2888d52857fbfbb206436d08c4f6ab18714..7e96793050c9b1a1b634d34e4e0ad9a658cf4111 100644 (file)
@@ -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) ||