rtl8712: Replace semaphore cmd_queue_sema with completion
authorBinoy Jayan <binoy.jayan@linaro.org>
Thu, 2 Jun 2016 04:24:07 +0000 (09:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 16:25:47 +0000 (18:25 +0200)
commit0f89054a0f6b44bdb7fd84de7fa80fa651a6f930
treea0652456000e256f8c4afee55814072b71271710
parent38bee763bd6d1f77ca3d10639e9bb3f1a1a53443
rtl8712: Replace semaphore cmd_queue_sema with completion

The semaphore 'cmd_queue_sema' is used as completion,
so convert it to a struct completion type.

Signed-off-by: Binoy Jayan <binoy.jayan@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/os_intfs.c
drivers/staging/rtl8712/rtl8712_cmd.c
drivers/staging/rtl8712/rtl871x_cmd.c
drivers/staging/rtl8712/rtl871x_cmd.h
drivers/staging/rtl8712/rtl871x_pwrctrl.c