]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: rtl8723ae: Convert inline routines to little-endian words
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 9 Sep 2019 01:59:53 +0000 (20:59 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 13 Sep 2019 14:55:35 +0000 (17:55 +0300)
commit670fb2d8363e9e4e9c637cd0a7a80e0435047397
treedd4c22b5d691a1d7948bc14b0ba2365fbb77f98b
parentc54efc50af121fe50d2efcd6664068d89759c7ea
rtlwifi: rtl8723ae: Convert inline routines to little-endian words

In this step, the read/write routines for the descriptors are converted
to use __le32 quantities, thus a lot of casts can be removed. Callback
routines still use the 8-bit arrays, but these are changed within the
specified routine.

The macro that cleared a descriptor has now been converted into an inline
routine.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h