driver: bcl_peripheral: 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: If6db015558a6a9e3db53ba7f1455808e779da908 Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
This commit is contained in:
parent
5e66f22b64
commit
57f00199bc
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ static void bcl_lmh_dcvs_enable(void)
|
|||
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)));
|
||||
if (scm_call2(SCM_SIP_FNID(SCM_SVC_LMH, LMH_DCVSH),
|
||||
&desc_arg))
|
||||
pr_err("Error enabling LMH BCL monitoringfor cluster0\n");
|
||||
|
|
Loading…
Add table
Reference in a new issue