projects
/
linux
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1d0262
)
ASoC: topology: Correctly set shift_r in soc_tplg_denum_create()
author
Amadeusz Sławiński
<amadeuszx.slawinski@linux.intel.com>
Thu, 27 Jun 2024 10:18:44 +0000
(12:18 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 2 Jul 2024 13:27:03 +0000
(14:27 +0100)
This aligns soc_tplg_denum_create() with
soc_tplg_dapm_widget_denum_create(), as there is no reason for
difference in behavior.
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link:
https://patch.msgid.link/20240627101850.2191513-8-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-topology.c
b/sound/soc/soc-topology.c
index 6a2a8249903d379363f9fce59d8e2ac729939053..e6eb514de56970c3f8d9f7aadd178f0ef74aa86b 100644
(file)
--- a/
sound/soc/soc-topology.c
+++ b/
sound/soc/soc-topology.c
@@
-891,7
+891,7
@@
static int soc_tplg_denum_create(struct soc_tplg *tplg, size_t size)
se->shift_l = tplg_chan_get_shift(tplg, ec->channel,
SNDRV_CHMAP_FL);
se->shift_r = tplg_chan_get_shift(tplg, ec->channel,
- SNDRV_CHMAP_F
L
);
+ SNDRV_CHMAP_F
R
);
se->mask = le32_to_cpu(ec->mask);
se->dobj.index = tplg->index;