summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-06-03 14:50:03 +0300
committerMark Brown <broonie@kernel.org>2022-06-06 14:38:55 +0300
commitac8a2ea48001a4c336fbaaa977642d5ad79cdbd8 (patch)
tree88b9577215785849343ca545d1a1ac4837cd6912 /tools/perf/scripts/python
parent2685d5046962f018b1a155b3eef316562414638b (diff)
downloadlinux-ac8a2ea48001a4c336fbaaa977642d5ad79cdbd8.tar.xz
ASoC: wm_adsp: Fix event generation for wm_adsp_fw_put()
Currently wm_adsp_fw_put() returns 0 rather than 1 when updating the value of the control, meaning that no event is generated to userspace. Fix this by setting the default return value to 1, the code already exits early with a return value of 0 if the value is unchanged. Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://lore.kernel.org/r/20220603115003.3865834-1-broonie@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions