Commit 9f750b2b authored by Hans Verkuil's avatar Hans Verkuil Committed by 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: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment