WSL2-Linux-Kernel/drivers/pinctrl/bcm
Ray Jui 091c531b09 pinctrl: iproc: Fix iProc and NSP GPIO support
Since commit 44a7185c2a ("of/platform: Add common method to populate
default bus"), ARM64 platform devices are populated at the
arch_initcall_sync level; as a result, the platform_driver_probe calls
in both the iProc and NSP GPIO drivers fail with -ENODEV since by that
time the platform device was not yet registered.

Replace platform_driver_probe with platform_driver_register, that allow
the device to be register later

Fixes: 44a7185c2a ("of/platform: Add common method to populate default bus")
Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Tested-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-10-31 21:25:15 +01:00
..
Kconfig pinctrl: bcm: add OF dependencies 2016-07-22 16:43:32 +02:00
Makefile pinctrl: nsp: add pinmux driver support for Broadcom NSP SoC 2016-06-29 10:06:00 +02:00
pinctrl-bcm281xx.c pinctrl: bcm281xx: constify pinctrl_ops and pinmux_ops structures 2016-09-07 22:41:30 +02:00
pinctrl-bcm2835.c pinctrl: bcm2835: Use devm_pinctrl_register() for pinctrl registration 2016-04-21 00:01:56 +02:00
pinctrl-cygnus-mux.c pinctrl: cygnus-mux: Use devm_pinctrl_register() for pinctrl registration 2016-04-21 00:02:00 +02:00
pinctrl-iproc-gpio.c pinctrl: iproc: Fix iProc and NSP GPIO support 2016-10-31 21:25:15 +01:00
pinctrl-ns2-mux.c pinctrl: ns2: constify pinctrl_ops and pinmux_ops structures 2016-09-07 22:39:44 +02:00
pinctrl-nsp-gpio.c pinctrl: iproc: Fix iProc and NSP GPIO support 2016-10-31 21:25:15 +01:00
pinctrl-nsp-mux.c pinctrl: nsp: constify pinctrl_ops and pinmux_ops structures 2016-09-07 22:40:40 +02:00