ASoC: rt5645: Redefine format config for rt5650
authorBard Liao <bardliao@realtek.com>
Fri, 27 Mar 2015 12:19:06 +0000 (20:19 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 27 Mar 2015 16:48:56 +0000 (09:48 -0700)
commit57bf27365c56b547097253004768904419df6c69
tree0b5728dc674fae94dd68606c27b56efd389dd7b3
parentb52551e0d0e659db43f5cfa813ae09d4c3744761
ASoC: rt5645: Redefine format config for rt5650

rt5650 and rt5645 use different register bits for format configuration.
This patch modifies rt5645_hw_params and rt5645_set_dai_fmt to support
both codecs.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c