summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/driver.c
diff options
context:
space:
mode:
authorChun-Hao Lin <hau@realtek.com>2016-08-01 07:45:30 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-02 06:38:53 +0200
commit0a2f0d2de4ed9bd73e2c8d604863399ed6a20527 (patch)
treeddc0952a58ad899a6ce88cb5a1daed5f404b3d22 /drivers/pnp/driver.c
parentqed: Fix error return code in qed_resc_alloc() (diff)
downloadlinux-0a2f0d2de4ed9bd73e2c8d604863399ed6a20527.tar.xz
linux-0a2f0d2de4ed9bd73e2c8d604863399ed6a20527.zip
8139too: fix system hang when there is a tx timeout event.
If tx timeout event occur, kernel will call rtl8139_tx_timeout_task() to reset hardware. But in this function, driver does not stop tx and rx function before reset hardware, that will cause system hang. In this patch, add stop tx and rx function before reset hardware. Signed-off-by: Chunhao Lin <hau@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pnp/driver.c')
0 files changed, 0 insertions, 0 deletions