ASoC: topology: Fix endianness issue
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Wed, 15 Apr 2020 16:24:35 +0000 (12:24 -0400)
committerMark Brown <broonie@kernel.org>
Wed, 15 Apr 2020 16:59:00 +0000 (17:59 +0100)
commit26d87881590fd55ccdd8f829498d7b3033f81990
treedba3b048f1e8d68cea135073ab7f49e02a25c733
parent0c824ec094b5cda766c80d88c2036e28c24a4cb1
ASoC: topology: Fix endianness issue

As done in already existing cases, we should use le32_to_cpu macro while
accessing hdr->magic. Found with sparse.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20200415162435.31859-2-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c