From patchwork Tue Apr 16 06:02:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 16148 Return-Path: X-Original-To: linaro@staging.patches.linaro.org Delivered-To: linaro@staging.patches.linaro.org Received: from mail-ee0-f71.google.com (mail-ee0-f71.google.com [74.125.83.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1F0A52395D for ; Tue, 16 Apr 2013 06:15:27 +0000 (UTC) Received: by mail-ee0-f71.google.com with SMTP id c1sf198272eek.2 for ; Mon, 15 Apr 2013 23:14:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=ZVaI1WLM3tPX080K2+HS8vHYRQi4BZS5GwVuXsFbWW4=; b=WAjZfh7hTDd9MkWVlrLkxWKbgXUywEB/7cdWl/UoOiEH4WhEP9Eyt1fXpwSGGaluQZ 1bOIXrcNnvSkRkhe1apDGTVdbG9SYQMEkyntlVOc2nJS7WLM06xM5u1Jfbnxe9YxgoHi 7xyoekKiTPEdP7Rz9hsL03TzQK3/NQz6fsTElH8PFXMxvoFN7XoAleV6JKzIe0iS16X2 V5e3iy2NY3UObssbOeqwn1l+v7zYRBQokKcRSbyAMRe/X/6nKmT/MhBSpHj6F+kqH/hH ZV0wYJGGObMrzSvxCLYzX7zVRHBi0AoKCgj3he3cVELaCzssspLf+hrXIE4nLUYHud7/ UUtQ== X-Received: by 10.180.106.73 with SMTP id gs9mr3757635wib.2.1366092894108; Mon, 15 Apr 2013 23:14:54 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.109.194 with SMTP id hu2ls797872wib.27.canary; Mon, 15 Apr 2013 23:14:54 -0700 (PDT) X-Received: by 10.194.5.4 with SMTP id o4mr1087093wjo.40.1366092894036; Mon, 15 Apr 2013 23:14:54 -0700 (PDT) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id bb10si144344wjb.190.2013.04.15.23.14.53 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Apr 2013 23:14:54 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.178; Received: by mail-ve0-f178.google.com with SMTP id c13so112111vea.9 for ; Mon, 15 Apr 2013 23:14:53 -0700 (PDT) X-Received: by 10.58.84.164 with SMTP id a4mr594437vez.9.1366092892963; Mon, 15 Apr 2013 23:14:52 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp8861veb; Mon, 15 Apr 2013 23:14:52 -0700 (PDT) X-Received: by 10.68.36.197 with SMTP id s5mr1266980pbj.23.1366092892139; Mon, 15 Apr 2013 23:14:52 -0700 (PDT) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by mx.google.com with ESMTPS id ac4si1412801pad.74.2013.04.15.23.14.51 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Apr 2013 23:14:52 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.174 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.174; Received: by mail-pd0-f174.google.com with SMTP id p12so110593pdj.5 for ; Mon, 15 Apr 2013 23:14:51 -0700 (PDT) X-Received: by 10.68.13.135 with SMTP id h7mr1181929pbc.113.1366092891726; Mon, 15 Apr 2013 23:14:51 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPS id li15sm1333239pab.2.2013.04.15.23.14.48 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Apr 2013 23:14:51 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: s.nawrocki@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 5/5] [media] exynos4-is: Remove unused functions Date: Tue, 16 Apr 2013 11:32:23 +0530 Message-Id: <1366092143-5482-5-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1366092143-5482-1-git-send-email-sachin.kamat@linaro.org> References: <1366092143-5482-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQkUSBho0hHdVDuu8GH+hSXEaaqOawPmm3imvq4AemnVUela7swszrFifR01wARn8ojJQfT6 X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , These functions do not have any callers yet and hence could be removed for now. Signed-off-by: Sachin Kamat --- drivers/media/platform/exynos4-is/fimc-is-param.c | 21 --------------------- drivers/media/platform/exynos4-is/fimc-is-regs.c | 12 ------------ 2 files changed, 33 deletions(-) diff --git a/drivers/media/platform/exynos4-is/fimc-is-param.c b/drivers/media/platform/exynos4-is/fimc-is-param.c index 64e41b8..91258d5 100644 --- a/drivers/media/platform/exynos4-is/fimc-is-param.c +++ b/drivers/media/platform/exynos4-is/fimc-is-param.c @@ -288,27 +288,6 @@ void __is_set_sensor(struct fimc_is *is, int fps) fimc_is_set_param_bit(is, PARAM_ISP_OTF_INPUT); } -void __is_set_init_isp_aa(struct fimc_is *is) -{ - struct isp_param *isp; - - isp = &is->config[is->config_index].isp; - - isp->aa.cmd = ISP_AA_COMMAND_START; - isp->aa.target = ISP_AA_TARGET_AF | ISP_AA_TARGET_AE | - ISP_AA_TARGET_AWB; - isp->aa.mode = 0; - isp->aa.scene = 0; - isp->aa.sleep = 0; - isp->aa.face = 0; - isp->aa.touch_x = 0; - isp->aa.touch_y = 0; - isp->aa.manual_af_setting = 0; - isp->aa.err = ISP_AF_ERROR_NONE; - - fimc_is_set_param_bit(is, PARAM_ISP_AA); -} - void __is_set_isp_flash(struct fimc_is *is, u32 cmd, u32 redeye) { unsigned int index = is->config_index; diff --git a/drivers/media/platform/exynos4-is/fimc-is-regs.c b/drivers/media/platform/exynos4-is/fimc-is-regs.c index b0ff67b..93b446f 100644 --- a/drivers/media/platform/exynos4-is/fimc-is-regs.c +++ b/drivers/media/platform/exynos4-is/fimc-is-regs.c @@ -96,18 +96,6 @@ int fimc_is_hw_set_param(struct fimc_is *is) return 0; } -int fimc_is_hw_set_tune(struct fimc_is *is) -{ - fimc_is_hw_wait_intmsr0_intmsd0(is); - - mcuctl_write(HIC_SET_TUNE, is, MCUCTL_REG_ISSR(0)); - mcuctl_write(is->sensor_index, is, MCUCTL_REG_ISSR(1)); - mcuctl_write(is->h2i_cmd.entry_id, is, MCUCTL_REG_ISSR(2)); - - fimc_is_hw_set_intgr0_gd0(is); - return 0; -} - #define FIMC_IS_MAX_PARAMS 4 int fimc_is_hw_get_params(struct fimc_is *is, unsigned int num_args)