6f01dfb760
Do not fail probing when device_init_wakeup fails.
device_init_wakeup fails when the device is already enabled as wakeup
device. Hence, the driver fails to probe the device if:
- The device has already been enabled for wakeup (by e.g. sysfs)
- The driver has been unloaded and is being loaded again.
This goal of the patch is to fix the above cases.
Overwhelming majority of the drivers do not check device_init_wakeup
return code.
Fixes:
|
||
---|---|---|
.. | ||
cec-gpio | ||
cros-ec | ||
meson | ||
s5p | ||
seco | ||
sti | ||
stm32 | ||
tegra | ||
Kconfig | ||
Makefile |