diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-07-06 07:26:57 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-11 14:57:09 -0400 |
commit | fbabfa8dde57f7862f2c9b0fd1324f241e2f267a (patch) | |
tree | 68dce75e9768f9d3ebc55e3aba2a50e7ce93e9da | |
parent | b1e71f31cb315cdc3be5a861b2eaab7401b70295 (diff) |
[media] omap3isp: preview: Remove lens shading compensation support
The feature isn't fully implemented and doesn't work, remove it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/omap3isp/isppreview.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/drivers/media/video/omap3isp/isppreview.c b/drivers/media/video/omap3isp/isppreview.c index 53f5a703e31a..eede8187217d 100644 --- a/drivers/media/video/omap3isp/isppreview.c +++ b/drivers/media/video/omap3isp/isppreview.c | |||
@@ -215,22 +215,6 @@ preview_enable_drkframe(struct isp_prev_device *prev, u8 enable) | |||
215 | } | 215 | } |
216 | 216 | ||
217 | /* | 217 | /* |
218 | * preview_config_drkf_shadcomp - Configures shift value in shading comp. | ||
219 | * @scomp_shtval: 3bit value of shift used in shading compensation. | ||
220 | */ | ||
221 | static void | ||
222 | preview_config_drkf_shadcomp(struct isp_prev_device *prev, | ||
223 | const void *scomp_shtval) | ||
224 | { | ||
225 | struct isp_device *isp = to_isp_device(prev); | ||
226 | const u32 *shtval = scomp_shtval; | ||
227 | |||
228 | isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR, | ||
229 | ISPPRV_PCR_SCOMP_SFT_MASK, | ||
230 | *shtval << ISPPRV_PCR_SCOMP_SFT_SHIFT); | ||
231 | } | ||
232 | |||
233 | /* | ||
234 | * preview_enable_hmed - Enables/Disables of the Horizontal Median Filter. | 218 | * preview_enable_hmed - Enables/Disables of the Horizontal Median Filter. |
235 | * @enable: 1 - Enables Horizontal Median Filter. | 219 | * @enable: 1 - Enables Horizontal Median Filter. |
236 | */ | 220 | */ |
@@ -870,7 +854,7 @@ static const struct preview_update update_attrs[] = { | |||
870 | NULL, | 854 | NULL, |
871 | preview_enable_drkframe, | 855 | preview_enable_drkframe, |
872 | }, /* OMAP3ISP_PREV_LENS_SHADING */ { | 856 | }, /* OMAP3ISP_PREV_LENS_SHADING */ { |
873 | preview_config_drkf_shadcomp, | 857 | NULL, |
874 | preview_enable_drkframe, | 858 | preview_enable_drkframe, |
875 | }, /* OMAP3ISP_PREV_NF */ { | 859 | }, /* OMAP3ISP_PREV_NF */ { |
876 | preview_config_noisefilter, | 860 | preview_config_noisefilter, |