commit | e65c2fef172eeb9183c9c08ede0cf7690d3846d8 | [log] [tgz] |
---|---|---|
author | pavanc <pavanc@codeaurora.org> | Wed Oct 18 17:52:01 2017 +0530 |
committer | pavanc <pavanc@codeaurora.org> | Tue Nov 28 12:16:30 2017 +0530 |
tree | 2fa03198b80201d004f9e5c23f75c07a902bb74e | |
parent | bba1bee291a21d71f22098a8d5b03a02518beb46 [diff] |
audio: Return ENODATA when retrieving position fails 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