linux-hardened/drivers/soc
Stefan Agner 9e01e2d56d soc: imx: gpcv2: fix regulator deferred probe
If a regulator requests a deferred probe, the power domain gets
initialized twice. This leads to a list double add (without
list debugging the kernel hangs due to the double add later):

  WARNING: CPU: 0 PID: 19 at lib/list_debug.c:31 __list_add_valid+0xbc/0xc4
  list_add double add: new=c1229754, prev=c12383b4, next=c1229754.

Initialize the power domain after we get the regulator. Also do
not print an error in case the regulator defers probing.

Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Fixes: 03aa12629f ("soc: imx: Add GPCv2 power gating driver")
Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Tested-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-08-05 11:12:20 +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 soc: imx: gpcv2: fix regulator deferred probe 2017-08-05 11:12:20 +08: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 mask generation for SRAM mapping 2016-01-27 20:29:20 +01: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