From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 907213932EE for ; Fri, 17 Jul 2026 13:39:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784295574; cv=none; b=tjPVNvL3ukZ0NPN/vs4sKPgCsys9YnodV4rm8fLioFdxk7GLFB0Gc0y2n+lgc3xXK//e7Q1QAUQOvzDSXACTaI/rwVUWTv+hp2wp6bnQhseWZUsU3OhijLjP1DRPZEj5X1ejXM59ON6n2sWgS2XlYu0uukesi5N9FaFs9ObVbE0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784295574; c=relaxed/simple; bh=bhwM3wdruznJDVjJnxjecvtvMlMQTLe9wGbkUI+oS2A=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=r28F8V+QqAcikK+0QetAu/RBYi6FDVZbj8/bhBEOidfb0qbXwSk2lmu7qgs6oLFXF0UwRnxSrX9+wXmCTtn5HKSB914K+R5RNpZ3WRhIkAKMd+uQJaDvziN+/cJ4MPRR2iJDTh+z8d4gcq9mTNvN6e9CUf3l0CrN1F0+K5pBsJ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=o14x5BDX; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="o14x5BDX" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 0A9EB1A102F; Fri, 17 Jul 2026 13:39:28 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id D180C60361; Fri, 17 Jul 2026 13:39:27 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 0FEE711BD0007; Fri, 17 Jul 2026 15:39:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1784295567; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=dr9JQMlBQoSLBYfOKXK5INFkF3P7yM55aDAJkdLh9hs=; b=o14x5BDXJFwdXYBSYUQqNBqZdf7/sJE5uYcqeJSaqLM8AbYhGvE3U+JZaJu0mgWmHulMGY 3yZWWnlMcLFL3kMmfrxR1FNLK12zl6uvOCjAfY5VKEteShyyrBMZctcSCKPmtM/FcmfF0G k23U5cufatV2XNnLfFF6iDt16Pm8FStdNlRXWOq4fwgzWWIpo93twv4sO0xcTWXybjee+j gCvSIeX+M5BYwzQpcnC4AgL+IpLhnRkHK25LfUtAitIkhCVIAfG4TYSMaBQCdjhsqWJldy ixcFAn/pg63MbjI2KogBi5AmWfmoeCyykahCA+1CVcPsLRjYBBBXSU6uguLN8A== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 17 Jul 2026 15:39:20 +0200 Message-Id: Subject: Re: [PATCH] drm/bridge: dw-hdmi: fix i2c adapter leak on probe failure Cc: "Jonas Karlman" , "Jernej Skrabec" , "Luca Ceresoli" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "David Airlie" , "Simona Vetter" , , , To: "Johan Hovold" , "Andrzej Hajda" , "Neil Armstrong" , "Robert Foss" , "Laurent Pinchart" From: "Luca Ceresoli" X-Mailer: aerc 0.21.0 References: <20260717090819.1630965-1-johan@kernel.org> In-Reply-To: <20260717090819.1630965-1-johan@kernel.org> X-Last-TLS-Session-Version: TLSv1.3 On Fri Jul 17, 2026 at 11:08 AM CEST, Johan Hovold wrote: > Make sure to drop the i2c adapter device and module references before > returning when detecting a malformed devicetree during probe. > > Fixes: 80e2f97968b5 ("drm: bridge: dw-hdmi: Switch to regmap for register= access") > Cc: stable@vger.kernel.org # 4.12 > Cc: Neil Armstrong > Signed-off-by: Johan Hovold Reviewed-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com