commit | a595238bad3d11b26d00bbda4ccbd38fe107cd1e | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Sun Aug 14 11:31:04 2011 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Aug 15 22:54:11 2011 +0900 |
tree | 43e8fa338345eee2705534c7d37aa0186e1d61da | |
parent | 1f9099b41723c90bd2ff8238482e8598ef21a621 [diff] |
ASoC: sta32x: shortcut the for loop to get ir and mcs 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>