Message ID | 20240229-onboard_xvf3500-v6-1-a0aff2947040@wolfvision.net (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2139.outbound.protection.outlook.com [40.107.22.139]) (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 14E5A51C52; Thu, 29 Feb 2024 08:34:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.139 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709195698; cv=fail; b=spB9S7OjtD27oq3CldJVWA+S9t8jrJVWhsOFGXkOMO+HieA0FL676VSf5sN6V+jcL63reQHVAoP+79Jk0yQkV9gPhVNCRkVobg337IzUpzV2i1Nvgd1LtG66vuh2t/QZzXXiUK9m1Tb8E9a8RYfIWCmIrdaAnZUX5HqqIFYhA94= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709195698; c=relaxed/simple; bh=SFVrdbQBKp6w6iOi3+cJln+dSXaq8fghc4J0yWNMHNw=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Vuu1v0ZBfuPUjiArmzuCQMxxjlGpB+TlD6IybcRCQwx6ezFmmb4hzISy4hiNdeUN7CMFxqnuxcV5023gsLDTDqE83jF2Xe40YQlMHbhsJslfqox8iIa6ddyeshgGE7bNaiu3LdV9B+aFlKOnydYrLuPIh8+nwfT7DAKJvA7/ZBQ= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wolfvision.net; spf=pass smtp.mailfrom=wolfvision.net; dkim=pass (1024-bit key) header.d=wolfvision.net header.i=@wolfvision.net header.b=Rq7KXKmD; arc=fail smtp.client-ip=40.107.22.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wolfvision.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wolfvision.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=wolfvision.net header.i=@wolfvision.net header.b="Rq7KXKmD" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JvKDmjGUw1yvjg5mr4VZK9c200CwVLDy8+Xarro8rQWDR13GHKmEqzbnB3SQmrq1Y2kE6G2gjJ8ZuYuIMCyVA0Qd0199VwafC7Q2yzqzig/7auROwpZA8rdUnMDtbRUFtm0PZyxFFCfG/fdOZCO2XAoR6d0+r3sFPDLkj+qAkouPdUYFjlyCtHxmkemyOfHHQpvHZ/PxwdGUYbiiMOLFy8O+JnTePnHqU6mha9aIZXeUzru2/75/BIfA7vcwswXFd3/4pVVUPUU/Vkmnl3b5FwoopMGBYiOKlwAhOyyvDjtrJ86xjYBkp6JryuYIpyW0glV7DwXSpYTeFQ1IEIvOAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=oZ/pSS/SvY4eruNxrTINDd0ELQdqtnODz0ZyyM7YC4k=; b=OCHoXjB/VpKoZbVDwLPAUyveyIsEp6amYFu2s3MAz9fV9Cui/kohoYacN8O5HLq8hXmoDL1KS3/BVE4vtJSTSZlTqqx2aq5PGkCU2t3I7NRC4hYbUjx3sWhgZC5bZ65R54Sqcd4AnQlGvaMWX07RXeYKM4KHHymo1/aT9KZ3i3yugepcKYGZj2Mc+7gVquJZ7OILnC0gGEjCyAx/+SSzNtXf2iZHISsY/L5QO1E0Vj/2RQbemDau2U6Fq2wvcFA8joZDvGMgsArDIvG3z8cmQUAFzqT3PKCFm3oUqtyI2bXKy736vY89nF6r8zh9OkIh7FDuktL+vLiX16t2j1cW5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oZ/pSS/SvY4eruNxrTINDd0ELQdqtnODz0ZyyM7YC4k=; b=Rq7KXKmDWmLPLGQ3ggUkdw/eqH2TjvZmh3cv6WQ4kVoxRVpGKr/yw/peHqobpifWoO/dyfzPyOQrL+pm4/btVy0HL/ybP77fxpJ+8d4ClCTN4QSVqJKh0UKvyvbJzLT6ZCFC4vCn+A5oXEbFygDIfOqQCp9OMBBWTTHxFsIIgG8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from VE1PR08MB4974.eurprd08.prod.outlook.com (2603:10a6:803:111::15) by DU0PR08MB9727.eurprd08.prod.outlook.com (2603:10a6:10:445::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.41; Thu, 29 Feb 2024 08:34:53 +0000 Received: from VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::9e35:6de9:e4fc:843f]) by VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::9e35:6de9:e4fc:843f%6]) with mapi id 15.20.7316.035; Thu, 29 Feb 2024 08:34:53 +0000 From: Javier Carrasco <javier.carrasco@wolfvision.net> Date: Thu, 29 Feb 2024 09:34:44 +0100 Subject: [PATCH v6 1/9] usb: misc: onboard_hub: use pointer consistently in the probe function Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240229-onboard_xvf3500-v6-1-a0aff2947040@wolfvision.net> References: <20240229-onboard_xvf3500-v6-0-a0aff2947040@wolfvision.net> In-Reply-To: <20240229-onboard_xvf3500-v6-0-a0aff2947040@wolfvision.net> To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Matthias Kaehlcke <mka@chromium.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Helen Koike <helen.koike@collabora.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Russell King <linux@armlinux.org.uk> Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Javier Carrasco <javier.carrasco@wolfvision.net> X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1709195691; l=853; i=javier.carrasco@wolfvision.net; s=20230509; h=from:subject:message-id; bh=SFVrdbQBKp6w6iOi3+cJln+dSXaq8fghc4J0yWNMHNw=; b=xGSVI4zRSKyb+ceH8aCwoSZAZaOEt7JmR6WYz4swE1/h1zNBi2AhuPBawrl/kg95eNJAkGERS 0yK3obd4WnDAjEU680G3EdZqu7XkB6NVxVZiu1Qt1ckn1gfylO04hZH X-Developer-Key: i=javier.carrasco@wolfvision.net; a=ed25519; pk=tIGJV7M+tCizagNijF0eGMBGcOsPD+0cWGfKjl4h6K8= X-ClientProxiedBy: FR3P281CA0020.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::21) To VE1PR08MB4974.eurprd08.prod.outlook.com (2603:10a6:803:111::15) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: <linux-sound.vger.kernel.org> List-Subscribe: <mailto:linux-sound+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-sound+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR08MB4974:EE_|DU0PR08MB9727:EE_ X-MS-Office365-Filtering-Correlation-Id: 069d09f9-4aef-440e-8ab4-08dc39014d73 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OA5kImIKOl7+LZWEPE2IMBItBOiV1bY7jLa5uRB9P8JfOT8PItETRNh9JQ7a/aAAzcCVPe95XIVQH6RzDmQ4iARZn2gc10bkNTfGnmZXvKhcZi7HGh3GgbSZ0V7ci0F4M1D0gas3CABJnvoG7d1ZQQ5eX4XSLHxIHeGUqgxCaRyThVc2Vy1QF1jJPPElWi3NvpJN9FEbQanHx0hgW3NS+BO7ZA9rh1TluA0PSKficXnZU0aOy4vI2c2bi3/FhnCEZ2wFC32B7j1mEY68zhPVkeyTo7G5bYH0efpfQRXxTjB2IUXXeu/8hyTEkUPKT86GyVw22Czeot+ClTBP0KLUvf9eAgHKkvHNhyCPf9KJZCXvd89044pVisjTwfegwNbmOoUWMSP8h4D264It5dTiV8pbSoVnamUut4B3k/C3UU2aUdVs1yrUJsm+GPc8XFlwMXKtLzCNb832/PBvHlTxQmxL3nB3fX3MHWeXZ2VpX4uMwWANIdzTDBQNXJ4sXlC7L6YX38rjFUhIHXruDvVYbcTEQszn39+QuKMEgc672H5ip3wHBeAjoMgicvKn3SxrPTt+bYqp56Qgta3CvKT3K993DtnrkXfao9ze3nDENw52gj2+yl9mi95ulecMlBbFSuYFQzas9yhB2Jjoa57aST4jx2be9GCtn/ab0wfVcPiW4n4EIIgtcMHEng26iwK0Z0J6U02CzcxmhN4S6ofV7hB7ritjxURl9J+NaTYQInU= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR08MB4974.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(921011)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?qbCXjXO4TqCmZxzIBiMdaRr7iUBR?= =?utf-8?q?JvcY+q/knpOz+jYbS1/USJCNCY7GcTj7ONFzm5UPiti58YMTKA8VREzw2FgMJ5Lgc?= =?utf-8?q?yUXCfZJZIwXyO+e63myxpAfTeJfNptxBu0RxXi7Lcsr4acvCmLFccijAvr0/ruDVh?= =?utf-8?q?9EKbqmU82HpSdjfleyZxiblqDgrPg6/nRssf1Aj0Ca/VtqPTA80qdmpk8ActWDAj7?= =?utf-8?q?2btroiwERVxhsVqOoSRy1UEW6jGIvVgg86V8ryV6IQt+KTWUxqnzck6J4337Vbuvo?= =?utf-8?q?2uQpSSjicVAHPuadH3Z6FF3/FpKRElOsCwX1ysNrOIG2pmhJTMA+MBrII4oOFRKtp?= =?utf-8?q?l+IM+eBPdqOeE40CSx/CXIHNy1yNYGgnfjIk4/VZ4SfYHql2YFvDla6IMmV4883Y2?= =?utf-8?q?yFkkZOa7QoihSkKFqGA87isAF6x3K5ziBox3QWbIRvmeNdY5DXfxcAmM63BdioOEx?= =?utf-8?q?R19/VTkyYP6BFfDfUbzqlYsAAVRMWe4876AbffbP25gWVi1EVeXS61Z/HSqen4Zt1?= =?utf-8?q?wiv2knmzPVSd9Dus/zgr2cE8fVN50SmZe2q/bZvFCfMBjRYoA1HvI+wVU4uxkMEjc?= =?utf-8?q?LFaAA66f7GgkL39DHVwJmFW9NeJLZxEsxs5TgR/LxzK8x/d5qOKhL1DecereKHNNn?= =?utf-8?q?xgSNGEunoXnAiV4lSnwBziHWHVj07OJ8NVRwCpirQ9tpw9rLuehDx2Zx7jF3zJ2vl?= =?utf-8?q?YA/M4DGhD8xS/ayTGsAobo7CW5oYh45U3uOq+Uj1sejJnQSSfOGil+9kLI8twiPyz?= =?utf-8?q?ZxuiuSGydv9ILbTrLRdq3hZlDG4zNsR7KFJ/mdt6nPKn2bEj2I4mq9/M9XCeaLWQ3?= =?utf-8?q?e0gZPclEAF7/CGcdFFzJO4lcgqa9pGdZDolR6SnvMx/cdTWhlCZ8DUcNPYYNLP/oo?= =?utf-8?q?upcBZeoBj6PnlRTcUhmGtBN+Kn6QDEwUNDUy4w1cbfDI8X052i9xtWcftwScvcJZZ?= =?utf-8?q?R0+NzMV7IPAmBZDxpLbLc5eq/w5GUwb3GnPhUMzDw6XMZeyo8R3myX43La07qYhOh?= =?utf-8?q?Ol9xIWDQvgYyhPyKt+ipdyoyCMuqRMi7baJl1v71w0mWsZHzEjzInHlksVmy/MSAR?= =?utf-8?q?+1B3jkWFbcHV2hNcKAOBMNDp4XSqoYCcXU6Y9UBBRrJgH8crVcQSWbIJk3jlEicwr?= =?utf-8?q?1VK8H8q8om2dBej0flWeZlGb7StjCwHDsjFHS2DnK40enG6LFs6xIiwvlHzOb94li?= =?utf-8?q?3tlDSoRwtp2Q8oh8lidH00uG8r0yM3wFjbqeXPBrefLREnz7aAHkN4ab6mBwILq9O?= =?utf-8?q?1A+amO1olFHShc8JW6RqTZfWTt/bfKHKfkUQFZVAxDCUN8MAvuQE/3ra3hpFTl66i?= =?utf-8?q?+baK1Y9884ZwsedHNyovyBJsG8c6pV8bokBP8puWjDg+oLR42gQVh9pRE1qOfSaxa?= =?utf-8?q?8k+UUg/iryivDwqtBBCdW7SL7RpLAF8C+gK3SEnTVbhfnRUiIHWfGQFEJwidHOqFH?= =?utf-8?q?sLlQVHc7L7AzMKn4S3MU4YWHS7x5Xcjj1+9wSPIofySRaYDx7NUEceO+H8KylEh0F?= =?utf-8?q?F/lumkwERbEpqPvO58ezaR1I+ukugTtiVZAzmLvJ5qDrxEpOl4lXQvo=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 069d09f9-4aef-440e-8ab4-08dc39014d73 X-MS-Exchange-CrossTenant-AuthSource: VE1PR08MB4974.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Feb 2024 08:34:53.8064 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: bpBikqnE4IqF5pJSSCe8q0Mvj7KpBw8Cg0dMAkL8WP6dy8RIrdcAwvu64vLC2ICp5HftCaoqlOFufxbD+4HFzoncCr20s27u7ImarDNFNj8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9727 |
Series |
usb: misc: onboard_hub: add support for XMOS XVF3500
|
expand
|
On Thu, Feb 29, 2024 at 09:34:44AM +0100, Javier Carrasco wrote: > Commit 14485de431b0 ("usb: Use device_get_match_data()") overlooked the > already existing pointer to pdev->dev 'dev'. > > Use the existing pointer 'dev' in device_get_match_data() to keep code > consistency. > > Signed-off-by: Javier Carrasco <javier.carrasco@wolfvision.net> Acked-by: Matthias Kaehlcke <mka@chromium.org>
diff --git a/drivers/usb/misc/onboard_usb_hub.c b/drivers/usb/misc/onboard_usb_hub.c index 0dd2b032c90b..81c001fd38c1 100644 --- a/drivers/usb/misc/onboard_usb_hub.c +++ b/drivers/usb/misc/onboard_usb_hub.c @@ -260,7 +260,7 @@ static int onboard_hub_probe(struct platform_device *pdev) if (!hub) return -ENOMEM; - hub->pdata = device_get_match_data(&pdev->dev); + hub->pdata = device_get_match_data(dev); if (!hub->pdata) return -EINVAL;
Commit 14485de431b0 ("usb: Use device_get_match_data()") overlooked the already existing pointer to pdev->dev 'dev'. Use the existing pointer 'dev' in device_get_match_data() to keep code consistency. Signed-off-by: Javier Carrasco <javier.carrasco@wolfvision.net> --- drivers/usb/misc/onboard_usb_hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)