diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2021-10-11 17:45:18 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-12 11:48:47 +0100 |
commit | c3de683c4d1d68ff27f21606b921d92ffdea3352 (patch) | |
tree | da2a9c3b70231c6e882b895bdbc9fd9634f15711 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 45ea86200847424e7d99bf43de832c124be08d78 (diff) |
ASoC: rt1011: Fix 'I2S Reference' enum control caused error
Access to 'I2S Reference' enum causes alsamixer to fail to load:
$ alsamixer
cannot load mixer controls: Invalid argument
cml_rt1011_rt5682 cml_rt1011_rt5682: control 2:0:0:TL I2S Reference:0: access overflow
The reason is that the original patch adding the code was using
ucontrol->value.integer.value[0]
instead the correct
ucontrol->value.enumerated.item[0]
for an ENUM control.
Fixes: 87f40af26c262 ("ASoC: rt1011: add i2s reference control for rt1011")
Reported-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20211011144518.2518-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions