Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5801406rdb; Wed, 13 Dec 2023 22:51:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IEA78dtZIlwTNYw5udPThdM/0g6zf8wzpCNeEphLpXaaVt5PrODns/WFlziXvFw8bNZVm88 X-Received: by 2002:a25:f312:0:b0:dbc:bfac:8a94 with SMTP id c18-20020a25f312000000b00dbcbfac8a94mr2677919ybs.126.1702536686423; Wed, 13 Dec 2023 22:51:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702536686; cv=none; d=google.com; s=arc-20160816; b=WLDLDm1sexCMwbTxhNs7NAXYjvyV++plSQu0VfMfLNe9tByrqvOMqDcKFx7vOwDFK8 w0apTDVvqGYh0Zcn4vRuOi7N9BcCteCy7O0dhwervaX8New7XqMMsfsKkEe1Ckq9d8vg gJT9a6qEXfm93fVepZD/wekFG+gCuzxHSWG4PwlyCdwrfmoSLiB/Sjg1DVQ01ABIKBna 7NFo5+U+oocGep+i7/96Kfw/WuKmzm1UJr4SOhIquxZw5xW26+qiu2oqTJwKlpdI0bMP 8C3IgxZdEWh0R3vm7uArFp7oAQRylJKGvXk0WywkIZAUktLMvN2Hc0IaexmNAY8gNLVO IHSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=43wilLYY3M4QiV+aMlcpGXkJnNJokUFYsLhrXuQtvbI=; fh=XQ3Ja9wKcqhsASYYLMElzkCFsrajr0VCo6/O7Hk5SL4=; b=g+iRkrUUgH9dlQ4faxHduu+uBJJdZRnlgNZkcVH7h/mED9tCK0ww0vbXewgt6cyV2f AJ6KTxLcua6HA4K//nvkjBFDeXkUsZ2hSMoIpZu3yeLD02hxuyClmJsiAGKjbxnD51jk wo+BO7ksOT2ifgedC9a1K475G9B+3sGcsxZnOTeJEhoOK8lRyPR73w39zjbr+AVscDFa abcBMcrbDJKzgl2qZjqUtR2LxFi4ZUgYxWJa7ttG62RDnjiPRm+GVWDM0IYPZWZq7B+/ o9yvoFk4Gh6/OMA7XX+yOp+BbnFclPVBxW+++HC5nRb/hQm/zArbJ1lTTqKnWyWdZh69 fQdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id i6-20020a17090acf8600b0028ad2d47779si3165742pju.157.2023.12.13.22.51.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 22:51:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 1BBCF8029DEF; Wed, 13 Dec 2023 22:51:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443316AbjLNGvD convert rfc822-to-8bit (ORCPT + 99 others); Thu, 14 Dec 2023 01:51:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443271AbjLNGum (ORCPT ); Thu, 14 Dec 2023 01:50:42 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F754B7; Wed, 13 Dec 2023 22:50:48 -0800 (PST) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 276EC81A5; Thu, 14 Dec 2023 14:50:47 +0800 (CST) Received: from EXMBX062.cuchost.com (172.16.6.62) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 14 Dec 2023 14:50:47 +0800 Received: from ubuntu.mshome.net (113.72.145.168) by EXMBX062.cuchost.com (172.16.6.62) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 14 Dec 2023 14:50:44 +0800 From: Changhuang Liang To: Mauro Carvalho Chehab , Greg Kroah-Hartman , Hans Verkuil , "Marvin Lin" , Bryan O'Donoghue , "Ming Qian" , Laurent Pinchart , Nicolas Dufresne , Benjamin Gaignard , Tomi Valkeinen , Mingjia Zhang , Geert Uytterhoeven , Sakari Ailus , Dan Carpenter CC: Jack Zhu , Changhuang Liang , , , Subject: [PATCH v1 7/9] staging: media: starfive: camss: Add V4L2_CAP_IO_MC capability Date: Wed, 13 Dec 2023 22:50:25 -0800 Message-ID: <20231214065027.28564-8-changhuang.liang@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231214065027.28564-1-changhuang.liang@starfivetech.com> References: <20231214065027.28564-1-changhuang.liang@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [113.72.145.168] X-ClientProxiedBy: EXCAS061.cuchost.com (172.16.6.21) To EXMBX062.cuchost.com (172.16.6.62) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 13 Dec 2023 22:51:25 -0800 (PST) Add V4L2_CAP_IO_MC capability for StarFive JH7110 SoC. Signed-off-by: Changhuang Liang --- drivers/staging/media/starfive/camss/stf-video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/starfive/camss/stf-video.c b/drivers/staging/media/starfive/camss/stf-video.c index f617b7b00491..54d855ba0b57 100644 --- a/drivers/staging/media/starfive/camss/stf-video.c +++ b/drivers/staging/media/starfive/camss/stf-video.c @@ -665,7 +665,7 @@ int stf_video_register(struct stfcamss_video *video, } vdev->fops = &stf_vid_fops; - vdev->device_caps |= V4L2_CAP_STREAMING; + vdev->device_caps |= V4L2_CAP_STREAMING | V4L2_CAP_IO_MC; vdev->entity.ops = &stf_media_ops; vdev->vfl_dir = VFL_DIR_RX; vdev->release = stf_video_release; -- 2.25.1