aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/platform/omap3isp/isppreview.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/platform/omap3isp/isppreview.c b/drivers/media/platform/omap3isp/isppreview.c
index 15cb254ccc39..13803270d104 100644
--- a/drivers/media/platform/omap3isp/isppreview.c
+++ b/drivers/media/platform/omap3isp/isppreview.c
@@ -929,14 +929,10 @@ static void preview_setup_hw(struct isp_prev_device *prev, u32 update,
929 u32 active) 929 u32 active)
930{ 930{
931 unsigned int i; 931 unsigned int i;
932 u32 features;
933 932
934 if (update == 0) 933 if (update == 0)
935 return; 934 return;
936 935
937 features = (prev->params.params[0].features & active)
938 | (prev->params.params[1].features & ~active);
939
940 for (i = 0; i < ARRAY_SIZE(update_attrs); i++) { 936 for (i = 0; i < ARRAY_SIZE(update_attrs); i++) {
941 const struct preview_update *attr = &update_attrs[i]; 937 const struct preview_update *attr = &update_attrs[i];
942 struct prev_params *params; 938 struct prev_params *params;