gpu: ipu-v3: Remove unused ipu_vdi_unsetup
ipu_vdi_unsetup() was added in 2016 by
commit 2d2ead4530 ("gpu: ipu-v3: Add Video Deinterlacer unit")
but has remained unused.
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241226022752.219399-6-linux@treblig.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
This commit is contained in:
committed by
Dmitry Baryshkov
parent
96e9d754b3
commit
27985c86e2
@@ -150,17 +150,6 @@ void ipu_vdi_setup(struct ipu_vdi *vdi, u32 code, int xres, int yres)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(ipu_vdi_setup);
|
||||
|
||||
void ipu_vdi_unsetup(struct ipu_vdi *vdi)
|
||||
{
|
||||
unsigned long flags;
|
||||
|
||||
spin_lock_irqsave(&vdi->lock, flags);
|
||||
ipu_vdi_write(vdi, 0, VDI_FSIZE);
|
||||
ipu_vdi_write(vdi, 0, VDI_C);
|
||||
spin_unlock_irqrestore(&vdi->lock, flags);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(ipu_vdi_unsetup);
|
||||
|
||||
int ipu_vdi_enable(struct ipu_vdi *vdi)
|
||||
{
|
||||
unsigned long flags;
|
||||
|
||||
@@ -463,7 +463,6 @@ struct ipu_vdi;
|
||||
void ipu_vdi_set_field_order(struct ipu_vdi *vdi, v4l2_std_id std, u32 field);
|
||||
void ipu_vdi_set_motion(struct ipu_vdi *vdi, enum ipu_motion_sel motion_sel);
|
||||
void ipu_vdi_setup(struct ipu_vdi *vdi, u32 code, int xres, int yres);
|
||||
void ipu_vdi_unsetup(struct ipu_vdi *vdi);
|
||||
int ipu_vdi_enable(struct ipu_vdi *vdi);
|
||||
int ipu_vdi_disable(struct ipu_vdi *vdi);
|
||||
struct ipu_vdi *ipu_vdi_get(struct ipu_soc *ipu);
|
||||
|
||||
Reference in New Issue
Block a user