ASoC: Intel: sst: fix sst_memcpy32 wrong with non-4x bytes issue
authorJie Yang <yang.jie@intel.com>
Mon, 14 Dec 2015 14:27:13 +0000 (22:27 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 16 Dec 2015 12:28:04 +0000 (12:28 +0000)
commit1cf8dfd90fe50ac660f79d4b94f47b8e721a1178
tree9370c8ac301d5ee9a469b8099d1198b5e8b42208
parentaf1086ba051aa33c559350a5fdb533acfe98a80c
ASoC: Intel: sst: fix sst_memcpy32 wrong with non-4x bytes issue

sst_memcpy32() only copied bytes/4 32bits, which means it dropped
the remaining bytes%4 bytes wrongly.

Here add copying those missing bytes, first to a 32bits tmp, and
then write the tmp to 32bits iomem.

Signed-off-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/sst-firmware.c