diff options
author | Srinivas Kandagatla <[email protected]> | 2018-07-04 10:49:43 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2018-07-04 15:34:48 +0100 |
commit | 110743189c863e96dc08a581d56c50b965870a3f (patch) | |
tree | a704220df7017521c1b458fe8c505b3792e65783 /scripts/gdb | |
parent | 4febced15ac8ddb9cf3e603edb111842e4863d9a (diff) |
ASoC: qdsp6: q6afe-dai: do not close port if its not opened
afe ports are open as part of prepare, so for use cases like
"aplay sample.wav" were sample.wav is not present. This would
call port close eventhough port was never opened. DSP would
return errors for such use cases.
Avoid doing this by checking the port state.
Signed-off-by: Srinivas Kandagatla <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions