Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2389202lqp; Sun, 24 Mar 2024 17:15:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXGrlu4d7TKLajQI9wSzGi0yTuVN/rHsI9A4ufWsYsUf4J+O+b31UATeDRoBtRHxosIAom2oHw/hROwD6vQVa+hwSLKcOh9W4F3mu27bQ== X-Google-Smtp-Source: AGHT+IGjOsk2WcZQkX5cq+v8mpubaEPeDprfX8XtVHTm7JY7LlHoDBllGEdMEin+TKfzIkac2U9E X-Received: by 2002:a05:6214:2124:b0:696:7bb8:e727 with SMTP id r4-20020a056214212400b006967bb8e727mr8163631qvc.28.1711325756259; Sun, 24 Mar 2024 17:15:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711325756; cv=pass; d=google.com; s=arc-20160816; b=yW4PUerzt794pNHYxvTL1eVyx/MqTux17pyYMYPGXiy05xuR+BJ97+eOug1MDNu3AS AqbBjZX5VF1l1fSV9rZFt9KDWMyYZjA0y5ZdoFf0dh5/GcGo8uiuAWdpsKQzLZFDwxab SPnYJCBWv4OVbDQjr4XmcnleLJRBF2AfYQWx+dyPK/VH4gLOyIr0mOPQSLf7jMQQNm+Q ldQBhJo5NyBBGtDyxys8TY6l9deSxOYs4HeIurHDC/+DNv6IB61HqWxqV8WJ903NApbx 5BW7B1NLT3PJmhQEPAWSb7911Q/CKypl38eYJU2N3DQDxh7D1aeY5+/xxJfkDUu85JgJ o45g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=kDEjlPnjrhVnFu9EVpYOyfvppzkU47hfPxdCWolmTAY=; fh=UfctcRnO5UdYX7KqXPBLN+bPnEID9UzsikwCzWMlmIA=; b=WBLERkurSjtv/icknAh9MQ3QwfbEJ6BGrQiPzecg8SrMBX5ILHC28K4S7klC0DLmRO xqPJ8Ou6H7FY4f6PH/jy97h7iQy8xXy4ld7NHLT8E+yLd6sgB/R5313Dgt57eBf9E+Dp ZvWWC/1sNfgwFEuLZNDBX0G8pV5isqoTPp7FQ/vRNpmDzSQDvuEL/Cv2M8vYXHouisO2 +Myblbi1rfXyj+jW1OazaDxN4wuEB5rXNA+QG++wiZ4PqXvcxm8El4mzuci4IKToRseF NG1yXLOP084s1YcOxJT+hx5Zru70sG9hok4py9Dt/b1lIdMmWEPr87zgXzcrCxrnjreT j9JQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V2rMjTPR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113351-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113351-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id jz15-20020a0562140e6f00b00695d2f2f3ebsi6802250qvb.134.2024.03.24.17.15.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:15:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113351-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V2rMjTPR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113351-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113351-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 00A0D1C22EFC for ; Mon, 25 Mar 2024 00:15:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B1A5F19A5F1; Sun, 24 Mar 2024 22:42:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="V2rMjTPR" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC0E1199EBC; Sun, 24 Mar 2024 22:42:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320151; cv=none; b=FdO1JBrqGP9cKnqTDzl1HVrEUyo85eCnp9A8Rb27qXJptEE3invbswP5BWzIs7w+yLnjRTwJRozUej7jtXBeiZMrf8dVhE80j1ZL+p78PruzyRsnKE3fgUEbteO4Xo0XLkfHpQnARGg9LL2tUNjUL+04e0WI9+E4SNK8KMm3VJQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320151; c=relaxed/simple; bh=9ZETl/gy0Y8jktpocnhL5DTxHf3vVl9bRFVzwPJKPDI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=maoEq3a3sh7hWviL8BSFoOwzayNTfZ3mCp2M+gfSEgSelW3nVIRWwDlN5QtRf+vxQLfAi4/YxvBvx1ustQqkdbws7+QVDs2YdUxk9Z6OQRz3XwEstAHNcHA6cGuA2FwdrxTRsod/3Aqklmq182dmOXTagvgvUHIBOVQ56HyCRTQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=V2rMjTPR; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3BA5C43394; Sun, 24 Mar 2024 22:42:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320151; bh=9ZETl/gy0Y8jktpocnhL5DTxHf3vVl9bRFVzwPJKPDI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V2rMjTPRAtxHKCPCiGLcZcyg+lmJQUal/tH3E8NyGKvwMzYDpt92VkVIX6EGsPhi4 KGHAzPrrKBj5KdmC1nNr4QBeGHQTUtYS6eUxOC9DrUYjkhglnhvjr02QxTb3NxeweT jIItGO2R8YPI9vrpVef4DRCRFJ+pAhcHuUsGTxyAmWlLu2A9Di9mmImL5vMFYK/RAS kja9aDwAxPjAlIYlmKj1k3DbiigrOcLo7j3bB4Xh9aA1bV/irc8PDekPS89ks9g7LB AYAeYMLVKJD+wmGsyisGSgy0XdL4gNGLZHbC+cyEFV6MEd5jqK0LMZAP/SDHm3n2YM ntyXhonAtnmDQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Sakari Ailus , Hans Verkuil , Sasha Levin Subject: [PATCH 6.8 460/715] media: ivsc: csi: Swap SINK and SOURCE pads Date: Sun, 24 Mar 2024 18:30:39 -0400 Message-ID: <20240324223455.1342824-461-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Sakari Ailus [ Upstream commit 48f5fd8967f8dd01679fc1618b0cba02095cddc5 ] This patch swaps SINK and SOURCE pads of the MEI CSI sub-device. While this does change the UAPI by swapping the pads, the driver has never been usable in upstream kernel as the Intel IPU6 driver it depends on any functionality has not yet been merged. Fixes: 29006e196a56 ("media: pci: intel: ivsc: Add CSI submodule") Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil Signed-off-by: Sasha Levin --- drivers/media/pci/intel/ivsc/mei_csi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/pci/intel/ivsc/mei_csi.c b/drivers/media/pci/intel/ivsc/mei_csi.c index 15b905f66ab72..3c74d06a27fad 100644 --- a/drivers/media/pci/intel/ivsc/mei_csi.c +++ b/drivers/media/pci/intel/ivsc/mei_csi.c @@ -71,8 +71,8 @@ enum ivsc_privacy_status { }; enum csi_pads { - CSI_PAD_SOURCE, CSI_PAD_SINK, + CSI_PAD_SOURCE, CSI_NUM_PADS }; @@ -587,7 +587,7 @@ static int mei_csi_notify_bound(struct v4l2_async_notifier *notifier, csi->remote_pad = pad; return media_create_pad_link(&subdev->entity, pad, - &csi->subdev.entity, 1, + &csi->subdev.entity, CSI_PAD_SINK, MEDIA_LNK_FL_ENABLED | MEDIA_LNK_FL_IMMUTABLE); } -- 2.43.0