ASoC: wm_adsp: Improve round to next 4-byte boundary
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 16 Feb 2015 15:25:49 +0000 (15:25 +0000)
committerMark Brown <broonie@kernel.org>
Sat, 21 Feb 2015 09:35:19 +0000 (18:35 +0900)
commitbe951017453cba2f3eb789413f697b8f14393eec
tree8439440897dc80c85a84d3da90e0b4c406d35b46
parent65d17a9ce9f24a3aaf7d614251fdcc1b2121765f
ASoC: wm_adsp: Improve round to next 4-byte boundary

Whilst the existing code does correctly round to the next 4-byte boundary
it does so rather inefficiently. This patch changes the rounding to be
simpler and more efficient.

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