linux_dsm_epyc7002/drivers/soc/bcm
Florian Fainelli 490cad5a3a soc: brcmstb: Fix error path for unsupported CPUs
In case setup_hifcpubiuctrl_regs() returns an error, because of e.g:
an unsupported CPU type, just catch that error and return instead of
blindly continuing with the initialization. This fixes a NULL pointer
de-reference with the code continuing without having a proper array of
registers to use.

Fixes: 22f7a9116e ("soc: brcmstb: Correct CPU_CREDIT_REG offset for Brahma-B53 CPUs")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2019-05-20 09:27:50 -07:00
..
brcmstb soc: brcmstb: Fix error path for unsupported CPUs 2019-05-20 09:27:50 -07:00
bcm2835-power.c This pull request brings in a build fix for arm64 with bcm2835 2019-03-18 10:31:24 -07:00
Kconfig soc: bcm: Make PM driver default for BCM2835 2019-01-24 19:19:22 +01:00
Makefile soc: bcm: bcm2835-pm: Add support for power domains under a new binding. 2019-01-09 16:55:09 +01:00
raspberrypi-power.c soc: bcm: Switch raspberrypi-power to SPDX identifier 2018-11-14 21:04:47 +01:00