summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-06-09 14:51:28 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-06-09 14:51:28 +0200
commitcf7a01a601284029e4025e4a171a1d15c7dac15c (patch)
tree19f019c83f82bddbc1ae6a8f17128301a11e8d94
parent37021e81fc9356549db14eeaf152cf568c790fcc (diff)
downloadgst-plugins-fsl-vpu-cf7a01a601284029e4025e4a171a1d15c7dac15c.tar.gz
gst-plugins-fsl-vpu-cf7a01a601284029e4025e4a171a1d15c7dac15c.tar.xz
vpu kernel module: fix last commit
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--module/imx-vpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/imx-vpu.c b/module/imx-vpu.c
index cc80049..013949c 100644
--- a/module/imx-vpu.c
+++ b/module/imx-vpu.c
@@ -601,8 +601,8 @@ static int noinline vpu_enc_get_initial_info(struct vpu_instance *instance)
return -EINVAL;
};
- vpu_write(vpu, BIT_BIT_STREAM_CTRL, 1 << bit_buf_pic_reset |
- 1 << bit_buf_pic_flush);
+ vpu_write(vpu, BIT_BIT_STREAM_CTRL, 1 << regs->bit_buf_pic_reset |
+ 1 << regs->bit_buf_pic_flush);
vpu_write(vpu, BIT_PARA_BUF_ADDR, instance->para_buf_phys);
vpu_write(vpu, BIT_WR_PTR(instance->idx), instance->bitstream_buf_phys);