wil6210: fix debugfs memory access alignment
authorAhmad Masri <amasri@codeaurora.org>
Wed, 31 Oct 2018 08:52:18 +0000 (10:52 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Nov 2018 16:03:32 +0000 (18:03 +0200)
commit84ec040d0fb25197584d28a0dedc355503cd19b9
treec3d68f6e4bec671e2f1a98a8f55d1cab55f7ea21
parentac0e541ab2f2951845acee784ef487be40fb4c77
wil6210: fix debugfs memory access alignment

All wil6210 device memory access should be 4 bytes aligned. In io
blob wil6210 did not force alignment for read function, this caused
alignment fault on some platforms.
Fixing that by accessing all 4 lower bytes and return to host the
requested data.

Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/debugfs.c