linux/Documentation/driver-api
Linus Torvalds f007cad159 Revert "firmware: add sanity check on shutdown/suspend"
This reverts commit 81f9507628.

It causes random failures of firmware loading at resume time (well,
random for me, it seems to be more reliable for others) because the
firmware disabling is not actually synchronous with any particular
resume event, and at least the btusb driver that uses a workqueue to
load the firmware at resume seems to occasionally hit the "firmware
loading is disabled" logic because the firmware loader hasn't gotten the
resume event yet.

Some kind of sanity check for not trying to load firmware when it's not
possible might be a good thing, but this commit was not it.

Greg seems to have silently suffered the same issue, and pointed to the
likely culprit, and Gabriel C verified the revert fixed it for him too.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Pointed-at-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Tested-by: Gabriel C <nix.or.die@gmail.com>
Cc: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-09-10 21:19:06 -07:00
..
80211
firmware Revert "firmware: add sanity check on shutdown/suspend" 2017-09-10 21:19:06 -07:00
iio
pm
usb
basics.rst docs: Do not include kerneldoc comments from kernel/sys.c 2017-07-17 14:05:36 -06:00
conf.py
device-io.rst
device_link.rst
dma-buf.rst docs: Do not include from .../seqno-fence.c 2017-07-17 14:07:49 -06:00
edac.rst
frame-buffer.rst
gpio.rst docs: driver-api: Add GPIO section 2017-08-14 15:01:13 +02:00
hsi.rst
i2c.rst Merge branch 'i2c/for-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2017-07-12 10:04:56 -07:00
index.rst docs: driver-api: Add GPIO section 2017-08-14 15:01:13 +02:00
infrastructure.rst
input.rst
libata.rst
message-based.rst
misc_devices.rst
miscellaneous.rst docs: driver-api: Remove trailing blank line 2017-08-07 14:27:45 -06:00
mtdnand.rst mtd: nand: Rename nand.h into rawnand.h 2017-08-13 10:11:49 +02:00
pci.rst
pinctl.rst
rapidio.rst
regulator.rst
s390-drivers.rst docs: Get the struct cmbdata kernel doc from the right file 2017-07-17 14:19:25 -06:00
scsi.rst docs: Do not include from drivers/scsi/constants.c 2017-07-17 14:27:19 -06:00
sound.rst
spi.rst
uio-howto.rst
vme.rst
w1.rst