Merge "msm: sde: Add mutex unlock for debug buffer access in rotator"

This commit is contained in:
Linux Build Service Account 2018-06-23 05:19:45 -07:00 committed by Gerrit - the friendly Code Review server
commit ae5f5a5335

View file

@ -1150,8 +1150,10 @@ static ssize_t sde_rotator_debug_base_reg_read(struct file *file,
goto debug_read_error;
}
if (dbg->off % sizeof(u32))
return -EFAULT;
if (dbg->off % sizeof(u32)) {
rc = -EFAULT;
goto debug_read_error;
}
ptr = dbg->base + dbg->off;
tot = 0;