]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
driver core: firmware loader: don't cache FW_ACTION_NOHOTPLUG firmware
authorMing Lei <ming.lei@canonical.com>
Mon, 27 May 2013 10:30:03 +0000 (18:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2013 21:02:13 +0000 (14:02 -0700)
commite771d1aafb92aebe46fcd30d30afa504faee4335
tree955a4f222e39d60a44ad65045e918ad2caea5925
parentf8878dcb84f7eb85b11c6be9d7d2581a88675615
driver core: firmware loader: don't cache FW_ACTION_NOHOTPLUG firmware

Generally there are only two drivers which don't need uevent to
handle firmware loading, so don't cache these firmwares during
suspend for these drivers since doing that may block firmware
loading forever.

Both the two drivers are involved in private firmware images, so
they don't hit in direct loading too.

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