|
@@ -263,7 +263,7 @@ static void s5p_mfc_release_dev_context_buffer_v5(struct s5p_mfc_dev *dev)
|
|
|
static void s5p_mfc_write_info_v5(struct s5p_mfc_ctx *ctx, unsigned int data,
|
|
|
unsigned int ofs)
|
|
|
{
|
|
|
- writel(data, (ctx->shm.virt + ofs));
|
|
|
+ writel(data, (volatile void __iomem *)(ctx->shm.virt + ofs));
|
|
|
wmb();
|
|
|
}
|
|
|
|
|
@@ -271,7 +271,7 @@ static unsigned int s5p_mfc_read_info_v5(struct s5p_mfc_ctx *ctx,
|
|
|
unsigned int ofs)
|
|
|
{
|
|
|
rmb();
|
|
|
- return readl(ctx->shm.virt + ofs);
|
|
|
+ return readl((volatile void __iomem *)(ctx->shm.virt + ofs));
|
|
|
}
|
|
|
|
|
|
static void s5p_mfc_dec_calc_dpb_size_v5(struct s5p_mfc_ctx *ctx)
|