diff options
| author | Charles Keepax <[email protected]> | 2018-06-19 16:22:09 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2018-06-19 16:24:16 +0100 |
| commit | 244e293690a6e07cbdfa11af1977488d91931eed (patch) | |
| tree | 531312d142e1469a5ce3e3c33570ceebf8d3efb4 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | f0d9034b290d8bad590e843c2a1081eb47d813ad (diff) | |
ASoC: pcm: Tidy up open/hw_params handling
Currently, the core will continue processing open/hw_params
component callbacks after one has failed even though it will abort
immediately afterwards. This is unnecessary and also has the issue
that close/hw_free will be called on the component which failed
open/hw_params which could result in issues if the driver doesn't
expect this behaviour.
Update the core to abort processing open/hw_params when an error
is hit and only call close/hw_free for those components that were
successfully opened.
Signed-off-by: Charles Keepax <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions