msm: mdss: Fix returning incorrect error number
Instead of returning actual error number, current code
returns boolean value of error present. Fix this issue
by using PTR_RET macro instead of IS_ERR during error check.
Change-Id: I61f0e57dd918c98ae4699993fa526e31654bebb3
Signed-off-by:
Ujwal Patel <ujwalp@codeaurora.org>
Loading
Please register or sign in to comment