ASoC: sta32x: shortcut the for loop to get ir and mcs
authorAxel Lin <axel.lin@gmail.com>
Sun, 14 Aug 2011 03:31:04 +0000 (11:31 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 15 Aug 2011 13:54:11 +0000 (22:54 +0900)
There is exactly one match or no match at all during the for loop iteration,
thus we can break from the for loop once a match is found.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found