提交 9f750b2b 编写于 作者: H Hans Verkuil 提交者: Mauro Carvalho Chehab

[media] cobalt: fix copy-and-paste error

The vmr_stat variable was filled with the contents of the control register,
not the status register. Classic copy-and-paste error.
Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 b7ccb9fb
...@@ -527,7 +527,7 @@ static void cobalt_video_input_status_show(struct cobalt_stream *s) ...@@ -527,7 +527,7 @@ static void cobalt_video_input_status_show(struct cobalt_stream *s)
cvi_ctrl = ioread32(&cvi->control); cvi_ctrl = ioread32(&cvi->control);
cvi_stat = ioread32(&cvi->status); cvi_stat = ioread32(&cvi->status);
vmr_ctrl = ioread32(&vmr->control); vmr_ctrl = ioread32(&vmr->control);
vmr_stat = ioread32(&vmr->control); vmr_stat = ioread32(&vmr->status);
cobalt_info("rx%d: cvi resolution: %dx%d\n", rx, cobalt_info("rx%d: cvi resolution: %dx%d\n", rx,
ioread32(&cvi->frame_width), ioread32(&cvi->frame_height)); ioread32(&cvi->frame_width), ioread32(&cvi->frame_height));
cobalt_info("rx%d: cvi control: %s%s%s\n", rx, cobalt_info("rx%d: cvi control: %s%s%s\n", rx,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册