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

Commit adef0240 authored by Veera Sundaram Sankaran's avatar Veera Sundaram Sankaran Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: fix error checking for dma_map_sg_lazy



dma_map_sg_lazy returns the nents value, ie the number of entries in
sglist which is passed on success. Error checking should be done based
on nents value and not on non-zero return value.

Change-Id: I341990fcd4eb123306fb8d1c3b08be85f0b7764b
Signed-off-by: default avatarVeera Sundaram Sankaran <veeras@codeaurora.org>
parent ef0d0e07
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