diff options
author | Dragos Tarcatu <[email protected]> | 2019-10-18 07:38:06 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-10-18 18:09:22 +0100 |
commit | 95a32c98055f664f9b3f34c41e153d4dcedd0eff (patch) | |
tree | f9ba57e41470ab30bac5ee3a67af6a714b2cb5ef /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 9b7a7f921689d6c254e5acd670be631ebd82d54d (diff) |
ASoC: SOF: control: return true when kcontrol values change
All the kcontrol put() functions are currently returning 0 when
successful. This does not go well with alsamixer as it does
not seem to get notified on SND_CTL_EVENT_MASK_VALUE callbacks
when values change for (some of) the sof kcontrols.
This patch fixes that by returning true for volume, switch
and enum type kcontrols when values do change in put().
Signed-off-by: Dragos Tarcatu <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions