8 Apr
2013
8 Apr
'13
4:49 a.m.
Markus Pargmann wrote:
This patch copies some parts from imx-ssi to support AC97 on imx27-pca100 and imx27-pcm043. It is activated with a new fsl,imx-ac97 bool property. It was tested on imx27-pca100.
I'm not crazy about this patch -- it seems a bit hackish. There are too many "if (imx_ac97)" clauses. Large pieces of code that don't appear to be related to AC97 are indented in an if-clause. I especially don't like the "If we use AC97, the registers are already setup correctly".
--
Timur Tabi