mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
641ed49db6
commit
136280322d
|
@ -1064,8 +1064,8 @@ static void ivtvfb_release_buffers (struct ivtv *itv)
|
|||
struct osd_info *oi = itv->osd_info;
|
||||
|
||||
/* Release cmap */
|
||||
if (oi->ivtvfb_info.cmap.len);
|
||||
fb_dealloc_cmap(&oi->ivtvfb_info.cmap);
|
||||
if (oi->ivtvfb_info.cmap.len)
|
||||
fb_dealloc_cmap(&oi->ivtvfb_info.cmap);
|
||||
|
||||
/* Release pseudo palette */
|
||||
if (oi->ivtvfb_info.pseudo_palette)
|
||||
|
|
Loading…
Reference in New Issue