summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
authorTakashi Iwai2018-07-25 22:43:26 +0200
committerMark Brown2018-07-26 16:48:21 +0200
commit3ba66feb59810e2ce616da0c4f1a5230c74768a8 (patch)
tree91a11c11b146027bb1161e164cddf06b51f5d907 /sound/soc/soc-dapm.c
parentASoC: dmaengine: Fix missing __user prefix in copy_user callback (diff)
downloadkernel-qcow2-linux-3ba66feb59810e2ce616da0c4f1a5230c74768a8.tar.gz
kernel-qcow2-linux-3ba66feb59810e2ce616da0c4f1a5230c74768a8.tar.xz
kernel-qcow2-linux-3ba66feb59810e2ce616da0c4f1a5230c74768a8.zip
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 <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r--sound/soc/soc-dapm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 0602b2888d52..7e96793050c9 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) ||