OSDN Git Service

staging: rtl8723au: Use workqueue to handle interrupt complete processing
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:03:14 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:11:56 +0000 (13:11 -0700)
commit980cf72afb0f6eac84d3ea63978db0993b76a3ec
treebf24993068fd40102726fdbdad6ca5132cb45993
parent8df06a3b80b344b6ce5291fb2ce5e346e317d230
staging: rtl8723au: Use workqueue to handle interrupt complete processing

Split the old work handler into a workqueue for processing
usb_read_interrupt_complete() events that require more than ust
clearing the event, and leave the old handler to just handle event
clearing.

This means we can get rid of the hacks with magic pointers to
determine what actions needs to be taken in the work handler, and
as an extra bonus obsoletes the bizarre cbuf code.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_cmd.c
drivers/staging/rtl8723au/hal/usb_ops_linux.c
drivers/staging/rtl8723au/include/rtw_cmd.h