ASoC: rt5677: Avoid duplicate the same test in each switch case
authorAxel Lin <axel.lin@ingics.com>
Wed, 30 Mar 2016 10:25:07 +0000 (18:25 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 30 Mar 2016 17:38:01 +0000 (10:38 -0700)
commit2dfadff69e8b1da8f8661e9edb131b208cc389b7
tree9f1e02690514b3320566f2417b0249c59462678d
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
ASoC: rt5677: Avoid duplicate the same test in each switch case

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5677.c