Message ID | 20220525190617.696344-39-paul.kocialkowski@bootlin.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id A21F3C433EF for <linux-arm-kernel@archiver.kernel.org>; Wed, 25 May 2022 19:53:54 +0000 (UTC) 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=2O2aF2BT7fbL2q43uT+BxKuVYCgVuOJqsdDxj8c6v58=; b=adAuMH8+GvRTIt CR4CW4OSEU3hp9Zp4tH+B1u8RsGSmCSMTl9ztKSyzpJfvfgDfKtjK9WDwzK1Ir+1O4iFJhk0wnvWr ope9ewPXy+7HXXqiHi42t9lt/tLhjs19h1/THyB7Jj1uDHYYiltL/aVU6/egbqQ4OGOXVKcr5GIeV xjZwmc+OT4GM+f4y2mDpT4mWeOqNYSaJsqHPBeQpbgPqTMSjKpK5BWsON299vUFPy4wJY3hicH/TX 4SkTHFDoQ4rFygyl8E+cWZjV5tEVYP4Cz5ZsKHd6Wduo3ErNBHQMXq4Un6+tZcEanZnQRKddSHUiH ncWFlzEzKuNqZXxZck7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntx3I-00CX6c-SB; Wed, 25 May 2022 19:52:17 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntws8-00CRZr-1F for linux-arm-kernel@bombadil.infradead.org; Wed, 25 May 2022 19:40:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=s4qacAQk3l/h0ZQjqHQzK2KwWqLYZ6RBuLaYEReb3ic=; b=jEehiFVwqbeW/yPiwU6tfyi1+x OYf9pIEnTO+/aJM8FKWxpToVzPc2D8l0jWVh5a/gFVTEvzFn/v3RNZGSgAflreij8eMtIc2KBlxa+ H1/zgKt47r8As8i29b7TfslR2Aj05+7+KXgntEVIBMNgZS3IRV57ufp/zoQ25JeMJSp8f1pU/O7W3 yax5zLI6hXOAQGkrV+Qm9memJ5/TU9TOVrJZfQ8tREtiF/qTsRefLHZ9nbJMfoN/NXKzmPxyPr/PL 362lRix4F0Pn2dpgrGztHr3jMVFT5bVoASlwkzDSLKGaB9WNIbMXUc/oYlNknyvqPlSemfOIPTflH /b3s++lw==; Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntwLt-001hHl-3S for linux-arm-kernel@lists.infradead.org; Wed, 25 May 2022 19:07:31 +0000 Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id A73731C000D; Wed, 25 May 2022 19:07:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1653505631; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=s4qacAQk3l/h0ZQjqHQzK2KwWqLYZ6RBuLaYEReb3ic=; b=czJFZ3ms9jXaVb0R3HH8cvnjvkCoGYio4mSWOotOWFp29rpMpxKZfsySKl0OlqB+v6lNfv QdATd7I3/H7NY/cX2+K6JYWvnw32ISMZATi82lE18bcePbXxSu3PUJaHZzce5vu3we20YL 1Cv6i3v4ll0kKpfVIQmyS6PEhjYVjRxsTRBZsp3/i3Hpm6bDfwdupG3hZytTbbaEWwjKV7 0UluCQSJ/MRmZrrZTYi3lWO4DqmLnwslxyoKcs4Eb6ZVbdOYQT4n8MSQyv3MBZd73kmi7C q5/GdcY8gfgApptaS/mQpCS+CktfGZUmd3HanvfTf7grp0LnRqSvbw4Zl8vODQ== From: Paul Kocialkowski <paul.kocialkowski@bootlin.com> To: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Cc: Yong Deng <yong.deng@magewell.com>, Paul Kocialkowski <paul.kocialkowski@bootlin.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Maxime Ripard <mripard@kernel.org>, Thomas Petazzoni <thomas.petazzoni@bootlin.com> Subject: [PATCH v5 38/44] media: sun6i-csi: Rename the capture video device to sun6i-csi-capture Date: Wed, 25 May 2022 21:06:11 +0200 Message-Id: <20220525190617.696344-39-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220525190617.696344-1-paul.kocialkowski@bootlin.com> References: <20220525190617.696344-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220525_200727_077288_B83FE1C9 X-CRM114-Status: GOOD ( 12.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Allwinner A31/A83T MIPI CSI-2 and A31 ISP / CSI Rework
|
expand
|
diff --git a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c index a0131023a8b9..e5ebe7a50c6f 100644 --- a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c +++ b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c @@ -1023,7 +1023,8 @@ int sun6i_csi_capture_setup(struct sun6i_csi_device *csi_dev) /* Video Device */ - strscpy(video_dev->name, SUN6I_CSI_NAME, sizeof(video_dev->name)); + strscpy(video_dev->name, SUN6I_CSI_CAPTURE_NAME, + sizeof(video_dev->name)); video_dev->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING; video_dev->vfl_dir = VFL_DIR_RX; video_dev->release = video_device_release_empty; diff --git a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.h b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.h index a61db3bc72e5..59c57bcefeec 100644 --- a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.h +++ b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.h @@ -11,6 +11,8 @@ #include <media/v4l2-dev.h> #include <media/videobuf2-core.h> +#define SUN6I_CSI_CAPTURE_NAME "sun6i-csi-capture" + #define SUN6I_CSI_CAPTURE_WIDTH_MIN 32 #define SUN6I_CSI_CAPTURE_WIDTH_MAX 4800 #define SUN6I_CSI_CAPTURE_HEIGHT_MIN 32