diff options
| author | Gyeongtaek Lee <[email protected]> | 2020-04-18 04:13:20 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-04-20 13:35:06 +0000 |
| commit | ebf1474745b4373fdde0fcf32d9d1f369b50b212 (patch) | |
| tree | e9de3a209acc0c2c9e6234fe5ed0be2956e484fb /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | ASoC: SOF: Intel: add min/max channels for SSP on Baytrail/Broadwell (diff) | |
| download | kernel-ebf1474745b4373fdde0fcf32d9d1f369b50b212.tar.gz kernel-ebf1474745b4373fdde0fcf32d9d1f369b50b212.zip | |
ASoC: dapm: fixup dapm kcontrol widget
snd_soc_dapm_kcontrol widget which is created by autodisable control
should contain correct on_val, mask and shift because it is set when the
widget is powered and changed value is applied on registers by following
code in dapm_seq_run_coalesced().
mask |= w->mask << w->shift;
if (w->power)
value |= w->on_val << w->shift;
else
value |= w->off_val << w->shift;
Shift on the mask in dapm_kcontrol_data_alloc() is removed to prevent
double shift.
And, on_val in dapm_kcontrol_set_value() is modified to get correct
value in the dapm_seq_run_coalesced().
Signed-off-by: Gyeongtaek Lee <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
