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

Commit 53894583 authored by Ingrid Gallardo's avatar Ingrid Gallardo Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: fix to return error when overlay get/set fail



Current calls to OVERLAY_SET and OVERLAY_GET ioctl are
not returning an error if the ioctl call fails since
the error gets overwritten by another function call.
Correcting this issue by preventing the return value
to get overwritten in case of failure.

Change-Id: I5d54ffdcdb86aa5d6521547bd40638dc4deb03da
Signed-off-by: default avatarIngrid Gallardo <ingridg@codeaurora.org>
parent 2b860e5c
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