aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/imx-hdmi.h
Commit message (Collapse)AuthorAge
* ENGR00278382 ASoC: fsl: Fix hdmi audio loadable module failureNicolin Chen2014-04-16
| | | | | | | | | | | | | | | | | Use platform_device_add() which can pass drvdata correctly: previously we register the dma_dev first and pass its drvdata, but this would fail to pass its drvdata correctly when using loadable module, because the probe() hdmi dma driver would be executed right after the register() and before set_drvdata(). Then the drvdata actually failed to be set to the hdmi dma driver. While platform_device_add() has no such issue because it would finish the set_drvdata() before its execution. This patch also move codec driver registering into CPU DAI driver. When using autoload module, the codec driver would alwasy fail to be detected due to its registering located in manchine driver. Thus move this to CPU DAI driver. Signed-off-by: Nicolin Chen <b42378@freescale.com>
* ENGR00277299-3 ASoC: fsl: Add dma driver for hdmi audioNicolin Chen2014-04-16
i.MX HDMI audio uses its own AHB DMA while there's also an extra SDMA channel to update its buffer addresses. Thus add a new driver for HDMI audio. Signed-off-by: Nicolin Chen <b42378@freescale.com>