summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-sii902x.c
AgeCommit message (Collapse)Author
2019-11-25ASoC: imx-sii902x: Fix compile errorShengjiu Wang
API change due to: adb76b5b9c47 ("ASoC: soc-core: remove legacy style dai_link") Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2019-11-25MLK-21697-2: ASoC: imx-sii902x: Remove the operation for sii902xShengjiu Wang
Move the operation for sii902x module to mxsfb_sii902x_audio.c platform driver. change codec from dummy to hdmi-codec Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2019-11-25MLK-15104: ASoC: imx-sii902: add constraint for channelsShengjiu Wang
The maximum channel supported by sii902 is 2, but machine driver use dummy codec, and there is no constraint list from codec, so add constraint directly in machine driver. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> (cherry picked from commit 037051e60f3b29fb09aae6f2c97a3532482dfc2a)
2019-11-25MLK-12244 ASoC: fsl: Set the sound card owner fieldZidan Wang
When load sound card, the pulseaudio will using the sound card to playback and record. It may be cause a kernel crash when the sound card is unloaded while the playback/record is active After setting the sound card owner field, when pulseaudio is running, the sound card module ref-count will not be 0 and the sound card will not be unloaded. So you should stop the pulseaudio when you want to unload the sound card. Signed-off-by: Zidan Wang <zidan.wang@freescale.com> [ Aisheng: hdmi change merged into hdmi branch ] Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2019-11-25MLK-11915-03 ASoC: imx-sii902x: init sii902x_np to avoid wild pointerZidan Wang
init sii902x_np to avoid wild pointer. Reported by Coverity. Signed-off-by: Zidan Wang <zidan.wang@freescale.com> (cherry picked from commit 780e27683c38f785ea7f7e07e83b00ffd3c22d78)
2019-11-25MLK-10713-2 ASoC: imx-sii902x: Add 96k and 192k sample rate supportZidan Wang
Add 96k and 192k sample rate support for hdmi audio. Signed-off-by: Zidan Wang <zidan.wang@freescale.com> (cherry picked from commit fa94b89ab94ce78800d112d0a013d0c0901d9b78)
2019-11-25MLK-10611-2 ASoC: imx-sii902x: forbid using SAI when SAI is being used by ↵Zidan Wang
other device imx7d-sdb board using one SAI for wm8960 and sii902x hdmi audio, wm8960 using SAI as slave mode and sii902x hdmi audio using SAI as master mode, so SAI can't be used at the same time. Forbid palyback(capture) when SAI is being used capture(playback) by other device. Signed-off-by: Zidan Wang <zidan.wang@freescale.com> (cherry picked from commit bac15c28c3b8a57fbe04ea80b8fb5eb47a0211f1)
2019-11-25MLK-10518-1 ASoC: imx-sii902x: add machine driver for sii902x hdmi audioZidan Wang
Add machine driver for sii902x hdmi audio. Restricting by SAI master clock, the hdmi audio just support 16bit 24bit sample width and 32k 48k sample rate. Signed-off-by: Zidan Wang <zidan.wang@freescale.com> (cherry picked from commit 8dc359b46c81105efcd13007325d9cadc9a6214d)