From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6925033E5 for ; Wed, 27 Apr 2022 19:50:57 +0000 (UTC) Received: by mail-ed1-f43.google.com with SMTP id b24so3139596edu.10 for ; Wed, 27 Apr 2022 12:50:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=33j4YNSNaU5u59fgSber6SgSZ1FYBjfWnCsj8i53xiY=; b=paqZNLRh816sci8wvt4ZMNGemC8tLQEZQbrY9GK0GF+9tda40M4Hbqk6a0iBrMeUWR pFZw8B9zMxIKU4oUgr8+nrR6asJ3HHqlfrm/haG45dyuWn4dCJtZo9iXZTnfySlgXT3t hfWQrG+tpXivhbySzfp7k6Rk5PR2rVcj6riFEWVUFsFoTt/5h7OvNo2+YpjEVTZ2xbUC c10ykpZtbfcdncFg30IrZLX8FfLSEHT6hnStz8jts0Luz3Lxkcny6oyP0KExznklnIZU VYhJCy5QIq7gG+pKuyC/cj25vXJGb4q9Sa9LyBnXyRWxTevQJuTPOWyWGT0vXxA0M61N uP7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=33j4YNSNaU5u59fgSber6SgSZ1FYBjfWnCsj8i53xiY=; b=w8I9e8SRdagYT7CX4VDoklqE9hnJmagu8jnwFt32v/g0Vr0+ET39dsfTpeoiJrbEmT yLMHX8Fa2o9mD79LWTX/z9OYE6d9mKwb12chUBneqPrvylpCFlzVILuRADF5W6ke9ltx YiGBfpH3F+z3xgInb8bwC6/og3gRkuWQCQmb3SvJziXT+05bfWU43thCNQIs2RpzyZBW 3s+Gs5wHJfpwGjMLJc7aCVuQc3LlJ9B2hnAlN4vyTWgFhWMnm4/q+ew1uuQnaTWHUk5b ArAbS6OhMf+tp24ev439hTz4UdHAizhYwqnux7/krfxMPxvzWnokRIwrbziO+jnRvpcN tzAQ== X-Gm-Message-State: AOAM532pe9/jeaAIwdhT1zlDZaKYiVNehzutDZlNKjkOF4MD4gYmY6KX h1CIZT6GtFpQXD7Luwx7W5c= X-Google-Smtp-Source: ABdhPJw1YgYtwx9aqlQwyWIGlVQaBzLeEYF1CEFQZPIzcHlqxRakh1b8DdGiXc19hCSJewwbYeHPOA== X-Received: by 2002:a05:6402:5286:b0:425:f0fb:5d23 with SMTP id en6-20020a056402528600b00425f0fb5d23mr15599225edb.243.1651089055670; Wed, 27 Apr 2022 12:50:55 -0700 (PDT) Received: from jernej-laptop.localnet (89-212-118-115.static.t-2.net. [89.212.118.115]) by smtp.gmail.com with ESMTPSA id j12-20020aa7de8c000000b0042617ba63b2sm104085edv.60.2022.04.27.12.50.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 12:50:55 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Paul Kocialkowski Cc: Yong Deng , Paul Kocialkowski , Mauro Carvalho Chehab , Chen-Yu Tsai , Samuel Holland , Laurent Pinchart , Maxime Ripard , Thomas Petazzoni Subject: Re: [PATCH v4 37/45] media: sun6i-csi: Rename the capture video device to sun6i-csi-capture Date: Wed, 27 Apr 2022 21:50:54 +0200 Message-ID: <14612220.tv2OnDr8pf@jernej-laptop> In-Reply-To: <20220415152811.636419-38-paul.kocialkowski@bootlin.com> References: <20220415152811.636419-1-paul.kocialkowski@bootlin.com> <20220415152811.636419-38-paul.kocialkowski@bootlin.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Dne petek, 15. april 2022 ob 17:28:03 CEST je Paul Kocialkowski napisal(a): > Now that the driver is properly split between bridge and capture, > rename the video device to highlight its role and be in line with > the bridge entity naming. > > Signed-off-by: Paul Kocialkowski Acked-by: Jernej Skrabec Best regards, Jernej > --- > drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c | 3 ++- > drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.h | 2 ++ > 2 files changed, 4 insertions(+), 1 deletion(-) > > 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 > a6619d083308..c3b1e1411da4 100644 > --- a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c > +++ b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c > @@ -1027,7 +1027,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 > #include > > +#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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 548F5C433F5 for ; Wed, 27 Apr 2022 19:52:11 +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=j3rht7CVDxC1LgbYBrbhwfyVMY8xVZed9qoUBQC5vFI=; b=o1pSjkBQiVG9lB T9uzRnVwGVIZqVk51JQhLXIj3dZXA7lLBg8NMXE/16x/jpvkt2b69hVudLkK+8hkk3iZurTdHb+O1 e251o2vym4eaa+3FBNZNmdeVs7MN0m+U/9nGydKb9ADJHb0m0ZBfCYmzi+Ks2v8OaccrBWv/c2Ryr 7qmTH+yGTdpFYUamsW0TmXTw9EUMnDugVbXsq0jh+uK8ucEL6kaqVzsW8Sa7P4uXYl5o7oOsoYAv3 NwTpBqMv1NRUBb5U1IWw5w6+J0a5bfZlFPUTPvn7dgicMMd53IZ9bpO1JRb7utn5nH4rYW2GLybUk Cv7kfQb48goGIaXqjtzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1njngj-003PVE-I7; Wed, 27 Apr 2022 19:51:01 +0000 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1njngg-003PTs-5r for linux-arm-kernel@lists.infradead.org; Wed, 27 Apr 2022 19:50:59 +0000 Received: by mail-ed1-x52a.google.com with SMTP id g20so3159722edw.6 for ; Wed, 27 Apr 2022 12:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=33j4YNSNaU5u59fgSber6SgSZ1FYBjfWnCsj8i53xiY=; b=paqZNLRh816sci8wvt4ZMNGemC8tLQEZQbrY9GK0GF+9tda40M4Hbqk6a0iBrMeUWR pFZw8B9zMxIKU4oUgr8+nrR6asJ3HHqlfrm/haG45dyuWn4dCJtZo9iXZTnfySlgXT3t hfWQrG+tpXivhbySzfp7k6Rk5PR2rVcj6riFEWVUFsFoTt/5h7OvNo2+YpjEVTZ2xbUC c10ykpZtbfcdncFg30IrZLX8FfLSEHT6hnStz8jts0Luz3Lxkcny6oyP0KExznklnIZU VYhJCy5QIq7gG+pKuyC/cj25vXJGb4q9Sa9LyBnXyRWxTevQJuTPOWyWGT0vXxA0M61N uP7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=33j4YNSNaU5u59fgSber6SgSZ1FYBjfWnCsj8i53xiY=; b=IuuJnoB1DI3Cv9YGSlrhpzWilVWTUqrwrLbPDiP0JYcEypJJ7E35D+qrDqiEjbDtlb vvpgwkXvuGgTjHSzxVTX3TvWSyhVooi498gXpjFXgEgF/1iMW82QK0X7uXCJIorYDYNK UV0m3eP3TE+kkUIOAJKhuacBex/JYyEHMmDbcW/S599AWUiSWh7Cu3W9jrmLVV3v1bB+ Q5rAy13SD8DuhqyNAwXizXsYtObcHARrAkvctQCFEw8w62hhLKUI25H2wt9+I/wFi/zR sb38V0F7HN/gGnbGzz/zlHdtlrfoNPM4o41kTLBqbqan9ZdFTtiewXr0usWPsco3rAFz sVZw== X-Gm-Message-State: AOAM5303eEp/tmLwby4P+A5cIfyDh/u5CRrVwM75uxMeSAw/nm+VxDuR uiSLTuAvPPznHLZv2NI9Gj0= X-Google-Smtp-Source: ABdhPJw1YgYtwx9aqlQwyWIGlVQaBzLeEYF1CEFQZPIzcHlqxRakh1b8DdGiXc19hCSJewwbYeHPOA== X-Received: by 2002:a05:6402:5286:b0:425:f0fb:5d23 with SMTP id en6-20020a056402528600b00425f0fb5d23mr15599225edb.243.1651089055670; Wed, 27 Apr 2022 12:50:55 -0700 (PDT) Received: from jernej-laptop.localnet (89-212-118-115.static.t-2.net. [89.212.118.115]) by smtp.gmail.com with ESMTPSA id j12-20020aa7de8c000000b0042617ba63b2sm104085edv.60.2022.04.27.12.50.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 12:50:55 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Paul Kocialkowski Cc: Yong Deng , Paul Kocialkowski , Mauro Carvalho Chehab , Chen-Yu Tsai , Samuel Holland , Laurent Pinchart , Maxime Ripard , Thomas Petazzoni Subject: Re: [PATCH v4 37/45] media: sun6i-csi: Rename the capture video device to sun6i-csi-capture Date: Wed, 27 Apr 2022 21:50:54 +0200 Message-ID: <14612220.tv2OnDr8pf@jernej-laptop> In-Reply-To: <20220415152811.636419-38-paul.kocialkowski@bootlin.com> References: <20220415152811.636419-1-paul.kocialkowski@bootlin.com> <20220415152811.636419-38-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220427_125058_265641_70D7B200 X-CRM114-Status: GOOD ( 16.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Dne petek, 15. april 2022 ob 17:28:03 CEST je Paul Kocialkowski napisal(a): > Now that the driver is properly split between bridge and capture, > rename the video device to highlight its role and be in line with > the bridge entity naming. > > Signed-off-by: Paul Kocialkowski Acked-by: Jernej Skrabec Best regards, Jernej > --- > drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c | 3 ++- > drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.h | 2 ++ > 2 files changed, 4 insertions(+), 1 deletion(-) > > 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 > a6619d083308..c3b1e1411da4 100644 > --- a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c > +++ b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c > @@ -1027,7 +1027,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 > #include > > +#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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel