From patchwork Thu Mar 6 04:55:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Seung-Woo Kim X-Patchwork-Id: 3781281 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2A52CBF540 for ; Thu, 6 Mar 2014 04:56:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5D7722024C for ; Thu, 6 Mar 2014 04:56:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E34A720254 for ; Thu, 6 Mar 2014 04:56:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752356AbaCFEz4 (ORCPT ); Wed, 5 Mar 2014 23:55:56 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:31017 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752185AbaCFEz1 (ORCPT ); Wed, 5 Mar 2014 23:55:27 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N2000JNA0CD5Y70@mailout1.samsung.com> for linux-media@vger.kernel.org; Thu, 06 Mar 2014 13:55:25 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.115]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id A6.E9.14803.DBFF7135; Thu, 06 Mar 2014 13:55:25 +0900 (KST) X-AuditID: cbfee691-b7efc6d0000039d3-e7-5317ffbd8615 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 5B.53.29263.DBFF7135; Thu, 06 Mar 2014 13:55:25 +0900 (KST) Received: from localhost.localdomain ([10.252.75.83]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N2000HZ20CA5O60@mmp2.samsung.com>; Thu, 06 Mar 2014 13:55:25 +0900 (KST) From: Seung-Woo Kim To: linux-media@vger.kernel.org, k.debski@samsung.com, m.chehab@samsung.com, sachin.kamat@linaro.org Cc: m.szyprowski@samsung.com, sw0312.kim@samsung.com Subject: [PATCH v3] [media] s5p-mfc: remove meaningless memory bank assignment Date: Thu, 06 Mar 2014 13:55:39 +0900 Message-id: <1394081739-23017-1-git-send-email-sw0312.kim@samsung.com> X-Mailer: git-send-email 1.7.4.1 In-reply-to: References: X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGLMWRmVeSWpSXmKPExsWyRsSkWHfvf/Fgg7UPZSx+vL7AZtGzYSur xcV18hZrj9xltzj5p5fRYsbkl2wObB53ru1h8+jbsorR4/MmuQDmKC6blNSczLLUIn27BK6M A+9PMxcsYK94vfULewNjP1sXIyeHhICJRFtXEzuELSZx4d56oDgXh5DAUkaJTTN/scIUrVkx mwkiMZ1RYu2SfkYIp5VJ4te9U0wgVWwCOhL7l/wG6xARSJNYOW8jC4jNDNQ9q3EzmC0s4CfR 27MAzGYRUJV4+Lsb7AxeATeJxUtWQW1TkFhw7y1YnFMgWOLflqdg84UEAiTmPHvMBFHzn01i 330JiDkCEt8mHwKayQEUl5XYdIAZokRS4uCKGywTGIUXMDKsYhRNLUguKE5KLzLVK07MLS7N S9dLzs/dxAgM49P/nk3cwXj/gPUhxmSgcROZpUST84FxkFcSb2hsZmRhamJqbGRuaUaasJI4 b/qjpCAhgfTEktTs1NSC1KL4otKc1OJDjEwcnFINjAk+JYyxahxc0qtO7vZ6nc+8Wz1B5EKn 8J8+vu8BOS8enjQVjPbLEm+8rthlXfmOOybfy1Z9Jef6SYbigf9+lYouei+RH73m1inRLwv+ 71m/7ov4OzeGP1e6AxUaD5YbWQW1ZYpdarRsMuyOuMzhKMh9PIGv49okz5PBb1/UO71MStez YeFSYinOSDTUYi4qTgQAWQrAa3kCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrCIsWRmVeSWpSXmKPExsVy+t9jQd29/8WDDTrXi1r8eH2BzaJnw1ZW i4vr5C3WHrnLbnHyTy+jxYzJL9kc2DzuXNvD5tG3ZRWjx+dNcgHMUQ2MNhmpiSmpRQqpecn5 KZl56bZK3sHxzvGmZgaGuoaWFuZKCnmJuam2Si4+AbpumTlAe5UUyhJzSoFCAYnFxUr6dpgm hIa46VrANEbo+oYEwfUYGaCBhDWMGQfen2YuWMBe8XrrF/YGxn62LkZODgkBE4k1K2YzQdhi EhfurQeKc3EICUxnlFi7pJ8Rwmllkvh17xRYFZuAjsT+Jb9ZQWwRgTSJlfM2soDYzECTZjVu BrOFBfwkensWgNksAqoSD393g23jFXCTWLxkFSvENgWJBffegsU5BYIl/m15CjZfSCBAYs6z x0wTGHkXMDKsYhRNLUguKE5KzzXUK07MLS7NS9dLzs/dxAiOk2dSOxhXNlgcYhTgYFTi4d3g Jx4sxJpYVlyZe4hRgoNZSYT34ROgEG9KYmVValF+fFFpTmrxIcZkoKsmMkuJJucDYzivJN7Q 2MTMyNLI3NDCyNicNGElcd4DrdaBQgLpiSWp2ampBalFMFuYODilGhgjXzy8slRpX5Ka4v5T b1xvTv5l+uBKj3FgZtmde+e/a23x4LvT7XylWJC1wuzhIreW46ZvFoca8LQfOe6goioj4bfz QvrXyFOP/qhrnavt/xY/49ex+YX7Lm9WfnBmTpjvosb1URWaG7TPdexlOrej+WFo3KG43Qb+ P/iNIvoPXvyy65/eHz1jJZbijERDLeai4kQAQ/jwe9cCAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch removes meaningless assignment of memory bank to itself. Signed-off-by: Seung-Woo Kim Acked-by: Sachin Kamat --- change from v2 - simplify description and change typo in subject change from v1 - fixes subject and adds proper description --- drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c b/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c index 2475a3c..ee05f2d 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c @@ -44,8 +44,6 @@ int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev) return -ENOMEM; } - dev->bank1 = dev->bank1; - if (HAS_PORTNUM(dev) && IS_TWOPORT(dev)) { bank2_virt = dma_alloc_coherent(dev->mem_dev_r, 1 << MFC_BASE_ALIGN_ORDER, &bank2_dma_addr, GFP_KERNEL);