mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-19 07:39:54 +02:00
soc: fsl: cpm1: tsa: Fix tsa_write8()
commit47a347bae9
upstream. The tsa_write8() parameter is an u32 value. This is not consistent with the function itself. Indeed, tsa_write8() writes an 8bits value. Be consistent and use an u8 parameter value. Fixes:1d4ba0b81c
("soc: fsl: cpm1: Add support for TSA") Cc: stable@vger.kernel.org Signed-off-by: Herve Codina <herve.codina@bootlin.com> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> Link: https://lore.kernel.org/r/20240808071132.149251-4-herve.codina@bootlin.com Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
543a3c7dbd
commit
c3533bf2ed
|
@ -140,7 +140,7 @@ static inline void tsa_write32(void __iomem *addr, u32 val)
|
||||||
iowrite32be(val, addr);
|
iowrite32be(val, addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void tsa_write8(void __iomem *addr, u32 val)
|
static inline void tsa_write8(void __iomem *addr, u8 val)
|
||||||
{
|
{
|
||||||
iowrite8(val, addr);
|
iowrite8(val, addr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user