]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:48 +0000 (21:16 -0600)
commit4d5a80e905a18098ff43b6db740efcc5058f1c09
treef6f6e060bab840893138166ffb2da79d9b5dc687
parentf7b7c5e670028b64c4e7d876b5139ec029e9ff15
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>
(cherry picked from commit 2a266f8b2ae790454edb79cb8c707c9305e0307a)
sound/soc/fsl/fsl_sai.c