aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorClément Péron <[email protected]>2020-10-30 15:46:37 +0100
committerMark Brown <[email protected]>2020-10-30 17:58:52 +0000
commit9c2d255f0e63f8e54bd8345f9c59c4060cf4bbd4 (patch)
treed3d707c9f28707b61b0d561899250abf08b602f0 /tools/perf/scripts/python/bin/stackcollapse-report
parent73adf87b7a5882408b0a17da59e69df4be12a968 (diff)
ASoC: sun4i-i2s: Change get_sr() and get_wss() to be more explicit
We are actually using a complex formula to just return a bunch of simple values. Also this formula is wrong for sun4i when calling get_wss() the function return 4 instead of 3. Replace this with a simpler switch case. Also drop the i2s params which is unused and return a simple int as returning an error code could be out of range for an s8 and there is no optim to return a s8 here. Fixes: 619c15f7fac9 ("ASoC: sun4i-i2s: Change SR and WSS computation") Reviewed-by: Chen-Yu Tsai <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Clément Péron <[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/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions