commit | 319ba649af30321ea221740833785b46e1fe6af3 | [log] [tgz] |
---|---|---|
author | Steve Hodgson <shodgson@solarflare.com> | Tue Jun 01 11:17:24 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 02 02:21:05 2010 -0700 |
tree | cc31c48c61fe42c3c4f7e516647fd19289eb9e5d | |
parent | 3bd9303500b1961d15aae783f17075936026ae79 [diff] |
sfc: Reschedule any resets scheduled inside efx_pm_freeze() efx_pm_freeze() sets efx->state = STATE_FINI, which means efx_reset_work() will abort any scheduled resets. efx_pm_thaw() should reschedule efx_reset_work() again, since a freeze/thaw will not have reset the hardware. This bug was spotted by inspection - there is no real world example of this happening. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>