Commit graph

5 commits

Author SHA1 Message Date
Zidan Wang 8f478fcfd3 MLK-11915-08 ASoC: imx-si476x: init fm_np to avoid wild pointer
init fm_np to avoid wild pointer. Reported by Coverity.

Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit dea49f320f33e1f723301a0bfa18573c0f7b5fb1)
2018-10-29 11:10:38 +08:00
Shengjiu Wang 8a2da8bdf0 MLK-11429-26: ASoC: fsl: imx-si476x: tdm_slot is changed in fsl_ssi
The fsl_ssi revert the mask in tdm_slot, so machine use 1 present enable
not 0.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
2018-10-29 11:10:38 +08:00
Shengjiu Wang 75161cd71f MLK-9684-3: ASoC: imx-si476x: SRCK and SRFS is used for fm in imx6sx
Configure the aumux port to output SRCK and SRFS from STCK and STFS
of internal port when use the SYN mode.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit f4428f5617916863b5410afea5614cc52190f1a8)
(cherry picked from commit 5335e2a2d5f0f2e1b96aa920425203912b1e34d9)
2018-10-29 11:10:38 +08:00
Shengjiu Wang 9e140a7a2b MLK-9684-2: ASoC: imx-si476x: remove the codec_name, use the codec_of_node
As the codec_name has a suffix, which is a index and is different
for different platform or different kernel. So here change machine driver
to use codec_of_node, which can be same for different platform/kernel,
then we can maintain a same machine driver for fm.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit e87b135f34cba5cfcd0614b045d4035118fb6d77)
(cherry picked from commit b1dc86a327d96e431c2a55cc6744c6c3bc6b84af)
2018-10-29 11:10:38 +08:00
Shengjiu Wang c246327c36 MLK-11429-21: ASoC: fsl: port si476x machine driver from imx_3.10.y
cherry-pick below patch from imx_3.14.y
ENGR00330403-3: ASoC: fsl: port si476x machine driver from imx_3.10.y

Port si476x machine dirver for i.MX series SoC and binding doc from imx_3.10.y

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit 05a68db09806fe5b0aa927dd94cf69b1b0c0fa5a)
2018-10-29 11:10:38 +08:00