mirror of
https://github.com/torvalds/linux.git
synced 2024-12-06 02:52:22 +00:00
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:
|
||
---|---|---|
.. | ||
core | ||
i2c | ||
platform | ||
usb | ||
Kconfig | ||
Makefile |