aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv/ivtv-fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-fb.c')
-rw-r--r--drivers/media/video/ivtv/ivtv-fb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-fb.c b/drivers/media/video/ivtv/ivtv-fb.c
index b8ad249a0b17..00765da8a6a0 100644
--- a/drivers/media/video/ivtv/ivtv-fb.c
+++ b/drivers/media/video/ivtv/ivtv-fb.c
@@ -1013,6 +1013,11 @@ static int ivtvfb_init_io(struct ivtv *itv)
1013{ 1013{
1014 struct osd_info *oi = itv->osd_info; 1014 struct osd_info *oi = itv->osd_info;
1015 1015
1016 if (ivtv_init_on_first_open(itv)) {
1017 IVTV_FB_ERR("Failed to initialize ivtv\n");
1018 return -ENXIO;
1019 }
1020
1016 ivtv_fb_get_framebuffer(itv, &oi->video_rbase, &oi->video_buffer_size); 1021 ivtv_fb_get_framebuffer(itv, &oi->video_rbase, &oi->video_buffer_size);
1017 1022
1018 /* The osd buffer size depends on the number of video buffers allocated 1023 /* The osd buffer size depends on the number of video buffers allocated