driver core: firmware loader: kill FW_ACTION_NOHOTPLUG requests before suspend
authorMing Lei <ming.lei@canonical.com>
Mon, 27 May 2013 10:30:04 +0000 (18:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2013 21:02:13 +0000 (14:02 -0700)
commitaf5bc11e9aa19f72a2d5ccd44611cb6268a60a34
tree4c1221a0e255569adc1b1c9902f4081ecb53faae
parente771d1aafb92aebe46fcd30d30afa504faee4335
driver core: firmware loader: kill FW_ACTION_NOHOTPLUG requests before suspend

This patch kills the firmware loading requests of FW_ACTION_NOHOTPLUG
before suspend to avoid blocking suspend because there is no timeout
for these requests.

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_class.c