Skip to content

Commit 27985c8

Browse files
Dr. David Alan Gilbertlumag
authored andcommitted
gpu: ipu-v3: Remove unused ipu_vdi_unsetup
ipu_vdi_unsetup() was added in 2016 by commit 2d2ead4 ("gpu: ipu-v3: Add Video Deinterlacer unit") but has remained unused. Remove it. Signed-off-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent 96e9d75 commit 27985c8

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

drivers/gpu/ipu-v3/ipu-vdi.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -150,17 +150,6 @@ void ipu_vdi_setup(struct ipu_vdi *vdi, u32 code, int xres, int yres)
150150
}
151151
EXPORT_SYMBOL_GPL(ipu_vdi_setup);
152152

153-
void ipu_vdi_unsetup(struct ipu_vdi *vdi)
154-
{
155-
unsigned long flags;
156-
157-
spin_lock_irqsave(&vdi->lock, flags);
158-
ipu_vdi_write(vdi, 0, VDI_FSIZE);
159-
ipu_vdi_write(vdi, 0, VDI_C);
160-
spin_unlock_irqrestore(&vdi->lock, flags);
161-
}
162-
EXPORT_SYMBOL_GPL(ipu_vdi_unsetup);
163-
164153
int ipu_vdi_enable(struct ipu_vdi *vdi)
165154
{
166155
unsigned long flags;

include/video/imx-ipu-v3.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,6 @@ struct ipu_vdi;
463463
void ipu_vdi_set_field_order(struct ipu_vdi *vdi, v4l2_std_id std, u32 field);
464464
void ipu_vdi_set_motion(struct ipu_vdi *vdi, enum ipu_motion_sel motion_sel);
465465
void ipu_vdi_setup(struct ipu_vdi *vdi, u32 code, int xres, int yres);
466-
void ipu_vdi_unsetup(struct ipu_vdi *vdi);
467466
int ipu_vdi_enable(struct ipu_vdi *vdi);
468467
int ipu_vdi_disable(struct ipu_vdi *vdi);
469468
struct ipu_vdi *ipu_vdi_get(struct ipu_soc *ipu);

0 commit comments

Comments
 (0)