diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2015-04-20 15:52:44 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-27 17:38:26 +0300 |
commit | 8299ee8123a7ef708811c3ff09eae0cf0874b651 (patch) | |
tree | 46aa3878e8a92a45ea5b44c4db9ba36eeb16d94b /sound/soc/codecs/wmfw.h | |
parent | c61e59fe4d3432dd8e63b9613895150eb5054d5e (diff) | |
download | linux-8299ee8123a7ef708811c3ff09eae0cf0874b651.tar.xz |
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>
Diffstat (limited to 'sound/soc/codecs/wmfw.h')
0 files changed, 0 insertions, 0 deletions