commit | f701b2e32effc3e55c742e07b6292bd3f27957e7 | [log] [tgz] |
---|---|---|
author | pavanc <pavanc@codeaurora.org> | Wed Oct 18 17:52:01 2017 +0530 |
committer | Ethan Chen <intervigil@gmail.com> | Sat Mar 03 19:41:45 2018 -0800 |
tree | 1604c77eb88e8feec6cdcdf036afee8388adf979 | |
parent | a68b3d9a274a409ffa2c986dfe66752364b1ec15 [diff] |
audio: Return ENODATA when position is failed to be retreived out_get_presentation_position returns ENOPERM if it is called when underlying pcm stream is not opened. This is resulting in an error log on the client side. ENODATA is more appropriate in this case as stream is yet to be opened and is not an error scenario. CRs-Fixed: 2111532 Change-Id: I29222ba9cc793ebb97f4f317f630627a3b272113