From mboxrd@z Thu Jan 1 00:00:00 1970 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 2A9242798F3; Fri, 15 May 2026 16:32:14 +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=1778862734; cv=none; b=B+Y9+qcDuLNIim4Z6RTgvoywdYyqVU/hR4GY+jFrEnVewWz+/EHM29YciqGYUNRy9xp6J8bx3r9Bto2rcGOzWPv3LXtLBLztSAjV5asTApB2DLJrg9Zwc3rsbr/xeRXuXVWMvnAbkE8Kxvebn3zx8wR/J0ntTzTqztR2bUjoLQs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778862734; c=relaxed/simple; bh=8V1opyRP86ewd8j42MlQc1ioJFkNece4VmvCS8Acktc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qWfc+z3Ds52sJR1CNF/TuwxswKT4Y85jW8Kxmg6DmEPGRANCQrZGTplLNIr4K43Bpxtttq2wFHOKaIT8qSB9B2w1fAWMmOOEHiFnZESUzTX3IC1pXUGNWZCCSj+JFBc8ldVkjpcAocWKJkliyxTOexvsnu7eHKSwZdB7Fw7/YdQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Xh+HfUda; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Xh+HfUda" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3A81C2BCB0; Fri, 15 May 2026 16:32:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778862734; bh=8V1opyRP86ewd8j42MlQc1ioJFkNece4VmvCS8Acktc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xh+HfUdaJacbi2kHZYAmIlZJmQZUmMgyxYcjeOPkS+Nw0OctR3W+u3Mq7BiJz58HU Y4gAtuZE8FcmwTVLaaxjeoscIJyk8YjuQ8qFxp8Ul+JVQGk3rLjNeEQWMWc2EzOWZA YTtP3Fa2ueRA/Et6+NPKkaba9Y9/XF9Uw8Jv1Uuc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, "Kory Maincent (TI)" , "Russell King (Oracle)" , Luca Ceresoli Subject: [PATCH 7.0 161/201] drm/bridge: tda998x: Use __be32 for audio port OF property pointer Date: Fri, 15 May 2026 17:49:39 +0200 Message-ID: <20260515154702.063289780@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260515154658.538039039@linuxfoundation.org> References: <20260515154658.538039039@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.0-stable review patch. If anyone has any objections, please let me know. ------------------ From: Kory Maincent (TI) commit 2a46a9356ba7b1bdd741c8b41e5374edcd960557 upstream. of_get_property() returns a pointer to big-endian (__be32) data, but port_data in tda998x_get_audio_ports() was declared as const u32 *, causing a sparse endianness type mismatch warning. Fix the declaration to use const __be32 *. Fixes: 7e567624dc5a4 ("drm/i2c: tda998x: Register ASoC hdmi-codec and add audio DT binding") Cc: stable@vger.kernel.org Signed-off-by: Kory Maincent (TI) Reviewed-by: Russell King (Oracle) Link: https://patch.msgid.link/20260428090457.121894-1-kory.maincent@bootlin.com Signed-off-by: Luca Ceresoli Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/bridge/tda998x_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/bridge/tda998x_drv.c +++ b/drivers/gpu/drm/bridge/tda998x_drv.c @@ -1697,7 +1697,7 @@ static const struct drm_bridge_funcs tda static int tda998x_get_audio_ports(struct tda998x_priv *priv, struct device_node *np) { - const u32 *port_data; + const __be32 *port_data; u32 size; int i;