]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae045a135c22c9a4c84ff76ae384c240b022ea3e
treebf24993068fd40102726fdbdad6ca5132cb45993
parentfaa83e9b4e25f4e52ae199cffaf008dc78bdc903
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