MLK-13369-1: ASoC: fsl: fix the hard code gpr address in machine driver
authorShengjiu Wang <shengjiu.wang@freescale.com>
Wed, 19 Oct 2016 09:22:16 +0000 (17:22 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:52:28 +0000 (14:52 -0500)
commit6c832f30bf71a1eac78b3209b1aecb4930691b03
treeffbdcb443285d503eaa1f76226af2e1b3b6d07bf
parentf9d3193d338c17f4ff4d4f6905bb1a9f2afd2a7f
MLK-13369-1: ASoC: fsl: fix the hard code gpr address in machine driver

There is hard code for gpr address in machine driver, imx-wm8960
and imx-wm8958, when the sai interface changed to sai1 or sai3,
there will be issue, so remove the hard code, use the property
from the device tree.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
sound/soc/fsl/imx-wm8958.c
sound/soc/fsl/imx-wm8960.c