summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8183/spm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8183/spm.c')
-rw-r--r--src/soc/mediatek/mt8183/spm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/mediatek/mt8183/spm.c b/src/soc/mediatek/mt8183/spm.c
index 5fba84de65..83e814fa87 100644
--- a/src/soc/mediatek/mt8183/spm.c
+++ b/src/soc/mediatek/mt8183/spm.c
@@ -156,7 +156,7 @@ static void spm_load_pcm_code(const struct dyna_load_pcm *pcm)
write32(&mtk_spm->pcm_im_host_rw_ptr,
PCM_IM_HOST_EN_LSB | PCM_IM_HOST_W_EN_LSB | i);
write32(&mtk_spm->pcm_im_host_rw_dat,
- (u32) *(pcm->buf + i));
+ (u32)*(pcm->buf + i));
}
write32(&mtk_spm->pcm_im_host_rw_ptr, 0);
}
@@ -168,7 +168,7 @@ static void spm_check_pcm_code(const struct dyna_load_pcm *pcm)
for (i = 0; i < pcm->desc.size; i++) {
write32(&mtk_spm->pcm_im_host_rw_ptr, PCM_IM_HOST_EN_LSB | i);
if ((read32(&mtk_spm->pcm_im_host_rw_dat)) !=
- (u32) *(pcm->buf + i))
+ (u32)*(pcm->buf + i))
spm_load_pcm_code(pcm);
}
write32(&mtk_spm->pcm_im_host_rw_ptr, 0);