linux-stable/drivers/soc/aspeed
Dan Carpenter 0f0c9c7022 soc: aspeed: Fix a reference leak in aspeed_socinfo_init()
This needs to call of_node_put(np) before returning if of_iomap() fails.

Fixes: e0218dca57 ("soc: aspeed: Add soc info driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20201113100850.GA168908@mwanda
Signed-off-by: Joel Stanley <joel@jms.id.au>
2020-11-19 23:01:15 +10:30
..
aspeed-lpc-ctrl.c soc: aspeed-lpc-ctrl: Fix driver name 2020-09-25 14:54:42 +09:30
aspeed-lpc-snoop.c soc: aspeed: lpc: Add AST2600 compatible strings 2020-09-25 14:02:43 +09:30
aspeed-p2a-ctrl.c ARM: SoC-related driver updates 2019-05-16 09:19:14 -07:00
aspeed-socinfo.c soc: aspeed: Fix a reference leak in aspeed_socinfo_init() 2020-11-19 23:01:15 +10:30
Kconfig soc: aspeed: Add soc info driver 2020-09-25 10:14:06 +09:30
Makefile soc: aspeed: Add soc info driver 2020-09-25 10:14:06 +09:30