aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDan Murphy <[email protected]>2019-10-07 12:11:55 -0500
committerMark Brown <[email protected]>2019-10-07 19:09:04 +0100
commitedd6d5393206ec9bfc74776f6f20a57f11327e1b (patch)
tree38a48ff9eaa002ff8cf5893230e9f7480ad10aa0 /tools/perf/scripts/python/bin
parent40f90ef0a77bab65c8f959ba1d264bb674f7234b (diff)
ASoC: tas2770: Fix snd_soc_update_bits error handling
According the documentation for snd_soc_update_bits the API will return a 1 if the update was successful with a value change, a 0 if the update was successful with no value change or a negative if the command just failed. So the value of return in the driver needs to be checked for being less then 0 or the caller may indicate failure when the value actually changed. Signed-off-by: Dan Murphy <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions