linux/drivers/soc
Icenowy Zheng 2262a65f0b drivers: soc: sunxi: fix error processing on base address when claiming
When claiming SRAM, if the base is set to an error, it means that the
SRAM controller has been probed, but failed to remap the controller
memory zone. If the base is zero, thus the SRAM controller should be not
probed at all, and it should return -EPROBE_DEFER. However, currently we
returned -EPROBE_DEFER in the former situation, and ignored the latter
situation (which will lead to the kernel to panic).

Fix the behavior on abnormal base address processing when claiming.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Fixes: 4af34b572a ("drivers: soc: sunxi: Introduce SoC driver to map
		      SRAMs")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2017-08-18 14:30:19 +08:00
..
actions soc: actions: owl-sps: Factor out owl_sps_set_pg() for power-gating 2017-06-23 17:43:27 +02:00
atmel ARM: at91: add armv7m SoC detection 2017-06-02 10:11:49 +02:00
bcm This pull request contains Broadcom ARM/ARM64 SoCs specific driver changes for 2017-06-18 20:30:52 -07:00
dove soc: dove: constify reset_control_ops structures 2017-01-27 17:52:57 +01:00
fsl powerpc updates for 4.12 part 2 2017-05-12 10:04:09 -07:00
imx The i.MX drivers update for 4.13: 2017-06-18 23:05:10 -07:00
mediatek soc: mediatek: PMIC wrap: Fix possible NULL derefrence. 2017-05-15 10:47:25 +02:00
qcom soc: qcom: smsm: Improve error handling, quiesce probe deferral 2017-06-05 21:50:44 -05:00
renesas Renesas ARM Based SoC R-Car SYSC Updates for v4.13 2017-06-18 22:51:43 -07:00
rockchip soc: rockchip: add driver handling grf setup 2017-01-06 10:28:19 +01:00
samsung soc: samsung: Do not build ARMv7 PMU drivers on ARMv8 2017-03-21 19:03:39 +02:00
sunxi drivers: soc: sunxi: fix error processing on base address when claiming 2017-08-18 14:30:19 +08:00
tegra soc/tegra: flowctrl: Fix error handling 2017-06-13 16:47:44 +02:00
ti net: ethernet: ti: netcp_core: return error while dma channel open issue 2017-05-11 12:39:34 -04:00
ux500 ARM: ux500: move soc_id driver to drivers/soc 2016-07-12 11:24:09 +02:00
versatile soc: versatile: dynamically detect RealView HBI numbers 2016-04-04 10:58:47 +02:00
zte soc: zte: pm_domains: Remove .owner field for driver 2017-03-08 12:40:44 +01:00
Kconfig Actions Semi SoC drivers for 4.13 2017-06-29 17:34:57 +02:00
Makefile Actions Semi SoC drivers for 4.13 2017-06-29 17:34:57 +02:00