ASoC: fsl_sai: Use FSL_SAI_xXR() and regmap_update_bits() to simplify code
authorNicolin Chen <Guangyu.Chen@freescale.com>
Fri, 11 Apr 2014 10:30:09 +0000 (18:30 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 14 Apr 2014 20:46:46 +0000 (21:46 +0100)
commit2a266f8b2ae790454edb79cb8c707c9305e0307a
tree07c098d95ed91bacb084d39d06471879fe83de37
parentf84526cfae46672308a361333c76b724384b61ee
ASoC: fsl_sai: Use FSL_SAI_xXR() and regmap_update_bits() to simplify code

By doing this, the driver can drop around 50 lines and become neater.

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/fsl_sai.c