From patchwork Fri Jun 25 08:23:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dafna Hirschfeld X-Patchwork-Id: 12344281 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51FAAC48BC2 for ; Fri, 25 Jun 2021 08:33:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 24A8B61417 for ; Fri, 25 Jun 2021 08:33:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 24A8B61417 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=collabora.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=LPhCeSvPU+OyL/t2o54BxrsLRBhz9N9sLUzej/Lfhfk=; b=43QFGQ2NJY2H1j uUWiGiYNrHfbN54f3vfZVZgW9wjgn9yXAb9tw8UaDpGhkkzm63n/uoA5u4QEfUkj6w46Qa77B5+g3 m6KSOYXiCusPxoPWAEWs5PQCxZFS+TbmdMDZgIW6eaVzbXJ/EJcxDuj3romEQAJRGnchptYdtIHmJ LRCVJ59FSCEgIjcAaI6cU5902+cgvHJ6OEy/27/VO4VtbKJYoDFW+smE6XRUTXn4poQEku+xQQccl pnTYcr//FZn1AwnImn2ROzxwWrQpJ+0NwSDD1kwmLQ/Lzrmlu6SO5hW6rKCwqjE1rvE7ZbYoINmzg bzvY4MyW6tXCu34ZqhFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwhHI-000NNB-Pn; Fri, 25 Jun 2021 08:33:32 +0000 Received: from bhuna.collabora.co.uk ([46.235.227.227]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwh7X-000IOP-M7 for linux-rockchip@lists.infradead.org; Fri, 25 Jun 2021 08:23:29 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: dafna) with ESMTPSA id 78F871F40E9F From: Dafna Hirschfeld To: linux-media@vger.kernel.org Cc: laurent.pinchart@ideasonboard.com, dafna.hirschfeld@collabora.com, helen.koike@collabora.com, ezequiel@collabora.com, hverkuil@xs4all.nl, kernel@collabora.com, dafna3@gmail.com, sakari.ailus@linux.intel.com, linux-rockchip@lists.infradead.org, mchehab@kernel.org, tfiga@chromium.org Subject: [PATCH 0/2] rkisp1: Two small fixes Date: Fri, 25 Jun 2021 11:23:07 +0300 Message-Id: <20210625082309.24944-1-dafna.hirschfeld@collabora.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210625_012327_950933_D8E984CC X-CRM114-Status: UNSURE ( 5.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Two small fixes to rkisp1 1. remove useless vaddr field 2. set the dma address of the capture buffers only once in 'buf_init' callabck instead of each time the buffer is queued Dafna Hirschfeld (2): media: rkisp1: remove field 'vaddr' from 'rkisp1_buffer' media: rkisp1: cap: initialize dma buf address in 'buf_init' cb .../media/platform/rockchip/rkisp1/rkisp1-capture.c | 12 +++++++++++- .../media/platform/rockchip/rkisp1/rkisp1-common.h | 6 +----- .../media/platform/rockchip/rkisp1/rkisp1-params.c | 3 +-- .../media/platform/rockchip/rkisp1/rkisp1-stats.c | 6 ++---- 4 files changed, 15 insertions(+), 12 deletions(-)