Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f701b2e3 authored by pavanc's avatar pavanc Committed by Ethan Chen
Browse files

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
parent a68b3d9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment