Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/bridge: tda998x: Use __be32 for audio port OF property pointer

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) <kory.maincent@bootlin.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/20260428090457.121894-1-kory.maincent@bootlin.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>

authored by

Kory Maincent (TI) and committed by
Luca Ceresoli
2a46a935 c28c22c8

+1 -1
+1 -1
drivers/gpu/drm/bridge/tda998x_drv.c
··· 1762 1762 static int tda998x_get_audio_ports(struct tda998x_priv *priv, 1763 1763 struct device_node *np) 1764 1764 { 1765 - const u32 *port_data; 1765 + const __be32 *port_data; 1766 1766 u32 size; 1767 1767 int i; 1768 1768