Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
msm: mdss: compat: avoid overrwriting err code from ioctl
When PREPARE OVERLAY ioctl returns an error code to indicate reason for failure, the compat layer must not overwrite this error code with those from compat functions. Userspace processes calling overlay ioctls rely on error code from driver ioctls, not the error codes from compat functions for some use cases Ex: falling back to mixed mode composition on -E2BIG. Fix this by propagating appropriate error code on failure. Change-Id: Ib238437be58731724a445f90183511011a6e612c Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
- Loading branch information