aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/controller.c
diff options
context:
space:
mode:
authorZhengchao Shao <[email protected]>2022-11-09 02:37:41 +0000
committerPaolo Abeni <[email protected]>2022-11-10 12:00:59 +0000
commit0348c1ab980c1d43fb37b758d4b760990c066cb5 (patch)
treec6210a05f0de17f90cc5b38117584694b0c4d57e /drivers/platform/surface/aggregator/controller.c
parentMerge branch 'macsec-clear-encryption-keys-in-h-w-drivers' (diff)
downloadkernel-0348c1ab980c1d43fb37b758d4b760990c066cb5.tar.gz
kernel-0348c1ab980c1d43fb37b758d4b760990c066cb5.zip
ethernet: s2io: disable napi when start nic failed in s2io_card_up()
When failed to start nic or add interrupt service routine in s2io_card_up() for opening device, napi isn't disabled. When open s2io device next time, it will trigger a BUG_ON()in napi_enable(). Compile tested only. Fixes: 5f490c968056 ("S2io: Fixed synchronization between scheduling of napi with card reset and close") Signed-off-by: Zhengchao Shao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions