driver: msm_lmh_dcvs: Input correct dmac flush range argument
Correct the input argument to pass in the valid end address for the dmac flush range function. Change-Id: I2bc1eb26bcc7ed4aaa381417045d08b6779679ee Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
This commit is contained in:
parent
cb0945c450
commit
f34a7e343a
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ static int msm_lmh_dcvs_write(uint32_t node_id, uint32_t fn,
|
|||
desc_arg.arginfo = SCM_ARGS(5, SCM_RO, SCM_VAL, SCM_VAL,
|
||||
SCM_VAL, SCM_VAL);
|
||||
|
||||
dmac_flush_range(payload, payload + 5 * (sizeof(uint32_t)));
|
||||
dmac_flush_range(payload, (void *)payload + 5 * (sizeof(uint32_t)));
|
||||
ret = scm_call2(SCM_SIP_FNID(SCM_SVC_LMH, MSM_LIMITS_DCVSH), &desc_arg);
|
||||
|
||||
kfree(payload);
|
||||
|
|
Loading…
Add table
Reference in a new issue