diff options
author | Shuming Fan <[email protected]> | 2023-03-16 09:30:41 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-04-12 15:30:35 +0530 |
commit | acdae4632e40f05e0f0731c5a383e461324aea65 (patch) | |
tree | 25b12709eca9639f293948dfd8da2105776c9e6a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9ddae9dad09e8bdaa33909bdcbb062c883c3c332 (diff) |
soundwire: stream: restore cumulative bus bandwidth when compute_params callback failed
The _sdw_prepare_stream function just returns the error code when
compute_params callback failed.
The cumulative bus bandwidth will keep the value and won't be decreased
by sdw_deprepare_stream function.
We should restore the value of cumulative bus bandwidth when
compute_params callback failed.
Signed-off-by: Shuming Fan <[email protected]>
Reviewed-by: Paul Olaru <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions