]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wfx: fix access to le32 attribute 'ps_mode_error'
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 12 May 2020 15:04:05 +0000 (17:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 May 2020 11:49:43 +0000 (13:49 +0200)
commit4e428f3454dbe96d6490d2e913956affea38b321
tree968be9eb683977676562343ef1845d08f25406f2
parentc75e193e239968ba998e2ab57d815e73b2355b91
staging: wfx: fix access to le32 attribute 'ps_mode_error'

The attribute ps_mode_error is little-endian. We have to take to the
endianness when we access it.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200512150414.267198-9-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/hif_rx.c