Message ID | 20240627101850.2191513-8-amadeuszx.slawinski@linux.intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 963942f73b02b053f97e079ed6dae5f3602cc4b1 |
Headers | show |
Series | ASoC: topology: kcontrol registration cleanup | expand |
diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c index 6a2a8249903d3..e6eb514de5697 100644 --- 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_FL); + SNDRV_CHMAP_FR); se->mask = le32_to_cpu(ec->mask); se->dobj.index = tplg->index;
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> --- sound/soc/soc-topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)