]> git.baikalelectronics.ru Git - kernel.git/commit
e100: Fix to allow systems with FW based cards to resume from STD
authorDavid Graham <david.graham@intel.com>
Wed, 28 Oct 2009 11:13:57 +0000 (04:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Oct 2009 11:13:57 +0000 (04:13 -0700)
commit13ce0f26ecae3939c577fb110df46c0c6d4b9418
tree113ef96d0785c6da9dbbc40473a7664553604088
parent5795b2a6fda148bd3b9a82f35c5a27ceff27013e
e100: Fix to allow systems with FW based cards to resume from STD

Devices with loadable firmware must have their firmware reloaded
after the system resumes from sleep, but the request_firmare()
API is not available at this point in the resume flow because
tasks are not yet running, and the system will hang if it is
called. Work around this issue by only calling request_firmware()
for a device's first firmware load, and cache a copy of the pointer
to the firmware blob for that device, so that we may reload firmware
images even during resume.

Signed-off-by: David Graham <david.graham@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e100.c