diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-08-28 02:28:04 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:07:25 -0400 |
commit | 136280322d894e6ec07187f2427b00c3d64ad066 (patch) | |
tree | 1caaa5a5be13e0f27e2d235cee1327e829f76b46 /drivers/media/video/ivtv | |
parent | 641ed49db6ecf6c539a5eab50a7540542377add1 (diff) |
V4L/DVB (6122): ivtvfb: fix an obvious bug in ivtvfb_release_buffers()
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv')
-rw-r--r-- | drivers/media/video/ivtv/ivtvfb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/ivtv/ivtvfb.c b/drivers/media/video/ivtv/ivtvfb.c index 73e46f94b45a..9684048fe56c 100644 --- a/drivers/media/video/ivtv/ivtvfb.c +++ b/drivers/media/video/ivtv/ivtvfb.c | |||
@@ -1064,8 +1064,8 @@ static void ivtvfb_release_buffers (struct ivtv *itv) | |||
1064 | struct osd_info *oi = itv->osd_info; | 1064 | struct osd_info *oi = itv->osd_info; |
1065 | 1065 | ||
1066 | /* Release cmap */ | 1066 | /* Release cmap */ |
1067 | if (oi->ivtvfb_info.cmap.len); | 1067 | if (oi->ivtvfb_info.cmap.len) |
1068 | fb_dealloc_cmap(&oi->ivtvfb_info.cmap); | 1068 | fb_dealloc_cmap(&oi->ivtvfb_info.cmap); |
1069 | 1069 | ||
1070 | /* Release pseudo palette */ | 1070 | /* Release pseudo palette */ |
1071 | if (oi->ivtvfb_info.pseudo_palette) | 1071 | if (oi->ivtvfb_info.pseudo_palette) |