Skip to content

ath9k: of_init: add endian check

Álvaro Fernández Rojas linux-wireless lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 6 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: net: wireless: ath9k: document endian checkDocumentation/devicetree/bindings/net/wireless/qca,ath9k.yaml+5 -03 replies
2/2ath9k: of_init: add endian checkdrivers/net/wireless/ath/ath9k/init.c+3 -23 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] ath9k: of_init: add endian check

Add new endian check flag to allow checking the endianness of EEPROM and swap its values if needed.
This flag was already present on ath9k_platform_data as "endian_check".

For compatibility with current devices the AH_NO_EEP_SWAP flag will be activated only when qca,endian-check isn't present in the device tree. This is because some devices have the magic values swapped but not the actual EEPROM data, so activating the flag for those devices will break them.

Álvaro Fernández Rojas (2):
dt-bindings: net: wireless: ath9k: document endian check
ath9k: fix calibration data endianness

 .../devicetree/bindings/net/wireless/qca,ath9k.yaml          | 5 +++++
 drivers/net/wireless/ath/ath9k/init.c                        | 5 +++--
 2 files changed, 8 insertions(+), 2 deletions(-)
Signature · 1 line
2.30.2