ASoC: wm_adsp: Use __leXX for little endian data
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 20 Apr 2015 12:52:44 +0000 (13:52 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Apr 2015 14:38:26 +0000 (15:38 +0100)
commit8299ee8123a7ef708811c3ff09eae0cf0874b651
tree46aa3878e8a92a45ea5b44c4db9ba36eeb16d94b
parentc61e59fe4d3432dd8e63b9613895150eb5054d5e
ASoC: wm_adsp: Use __leXX for little endian data

Using uXX for little endian data, was triggering some warnings through
sparse:

sound/soc/codecs/wm_adsp.c:716:26: sparse: cast to restricted __le16
sound/soc/codecs/wm_adsp.c:736:23: sparse: cast to restricted __le16
sound/soc/codecs/wm_adsp.c:739:23: sparse: cast to restricted __le32

Correct this by changing the casts to use __leXX instead of uXX.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c