diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-07-27 18:03:58 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-07-28 08:50:42 +0100 |
commit | ddef08dd00f5548f943422c86e4ffe67dd040b6c (patch) | |
tree | 359d5f96695c2ecd7442df32ba4083dc4db24e5b /lib/klist.c | |
parent | 712e960f0ee9337f3473ba3de2bcfc7e87b7c5a4 (diff) | |
download | op-kernel-dev-ddef08dd00f5548f943422c86e4ffe67dd040b6c.zip op-kernel-dev-ddef08dd00f5548f943422c86e4ffe67dd040b6c.tar.gz |
Driver core: wakeup the parent device before trying probe
If the parent is still suspended when driver probe is
attempted, the result may be failure.
For example, if the parent is a PCI MFD device that has been
suspended when we try to probe our device, any register
reads will return 0xffffffff.
To fix the problem, making sure the parent is always awake
before attempting driver probe.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions