ASoC: wm_adsp: Stop region iteration when the desired region is found
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 28 Nov 2013 16:37:51 +0000 (16:37 +0000)
committerMark Brown <broonie@linaro.org>
Thu, 28 Nov 2013 18:12:41 +0000 (18:12 +0000)
commitd733dc0828cfb230171ae7420a6e8c344ec8473a
treee0aa92422b92c3831da0d9a72e303aca3584ca60
parent32a8fda90f52f547719b16dec07cce4abbd093e0
ASoC: wm_adsp: Stop region iteration when the desired region is found

When locating the memory region relating to a coefficient block written
through a bin file we keep processing the list of regions even after we
have found the region we require. This patch adds a break, so we don't
process redundant list items.

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