Commit 6c8f9d93 authored by Committed by Greg Kroah-Hartman
staging: vt6655: Fix interrupt race condition on device start up.
commit 3b9c2f2e0e99bb67c96abcb659b3465efe3bee1f upstream. It appears on some slower systems that the driver can find its way out of the workqueue while the interrupt is disabled by continuous polling by it. Move MACvIntEnable to vnt_interrupt_work so that it is always enabled on all routes out of vnt_interrupt_process. Move MACvIntDisable so that the device doesn't keep polling the system while the workqueue is being processed. Signed-off-by: Malcolm Priestley <firstname.lastname@example.org> CC: email@example.com # v4.2+ Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>
Showing with 4 additions and 4 deletions