ASoC: tas5086: Improve the logic for de-emphasis sampling rate selection
authorAxel Lin <axel.lin@ingics.com>
Thu, 23 Jul 2015 15:13:36 +0000 (23:13 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 23 Jul 2015 15:47:08 +0000 (16:47 +0100)
commit9425e9d8c77dd9f40c5f199127a63be2e2b7c1f4
tree51283ea253cad6edad84f730a7c7239102b683cf
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
ASoC: tas5086: Improve the logic for de-emphasis sampling rate selection

Slightly improve the logic for de-emphasis sampling rate selection by break
out the loop if the rate is matched.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas5086.c