linux_dsm_epyc7002/sound/soc/omap
Ricardo Neri a0534e3bb6 ASoC: OMAP: HDMI: Improve how the display state is verified
Before starting to play audio, we need to make sure that the
display is active and the current video mode supports audio. instead
of using the overlay manager in the machine driver, we use the DSS audio
interface's audio_supported function. As we already have a pointer to
the correct dssdev, we do not have to look for it every time audio is
to be played. Also, the CPU DAI startup function is called earlier
than the card hw_param function. Hence and we can detect the state of
the display earlier.

While there, add a error message if the constraint cannot be applied.

Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

squash to improve err
Signed-off-by: Liam Girdwood <lrg@ti.com>
2012-05-22 17:33:23 +01:00
..
am3517evm.c ASoC: omap-mcbsp: Create a single driver for McBSP 2012-03-12 13:34:19 +00:00
ams-delta.c ARM: board specific updates 2012-03-27 16:27:28 -07:00
igep0020.c ASoC: omap-mcbsp: Create a single driver for McBSP 2012-03-12 13:34:19 +00:00
Kconfig ASoC: OMAP: HDMI: Use the DSS audio interface 2012-05-22 17:33:23 +01:00
Makefile ASoC: OMAP: Build config cleanup for McBSP 2012-03-12 13:34:25 +00:00
mcbsp.c ASoC: omap-mcbsp: Use the common interrupt line if supported by the SoC 2012-05-22 17:33:19 +01:00
mcbsp.h ASoC: omap-mcbsp: Use the common interrupt line if supported by the SoC 2012-05-22 17:33:19 +01:00
n810.c ASoC: omap-mcbsp: Create a single driver for McBSP 2012-03-12 13:34:19 +00:00
omap3beagle.c ASoC: omap-mcbsp: Create a single driver for McBSP 2012-03-12 13:34:19 +00:00
omap3evm.c ASoC: omap-mcbsp: Create a single driver for McBSP 2012-03-12 13:34:19 +00:00
omap3pandora.c ASoC: omap-mcbsp: Create a single driver for McBSP 2012-03-12 13:34:19 +00:00
omap4-hdmi-card.c ASoC: OMAP: HDMI: Improve how the display state is verified 2012-05-22 17:33:23 +01:00
omap-abe-twl6040.c ASoC: omap-abe-twl6040: Introduce driver data for runtime parameters 2012-05-22 17:33:19 +01:00
omap-dmic.c ASoC: omap-dmic: Add device tree bindings 2012-05-22 17:33:19 +01:00
omap-dmic.h ASoC: OMAP4: omap-dmic: Initial support for OMAP DMIC 2011-11-28 17:21:44 +00:00
omap-hdmi.c ASoC: OMAP: HDMI: Improve how the display state is verified 2012-05-22 17:33:23 +01:00
omap-hdmi.h ASoC: OMAP: Add CPU DAI driver for HDMI 2011-06-03 13:43:45 +01:00
omap-mcbsp.c ASoC: omap-mcbsp: buffer size constraint only applies to playback stream 2012-05-22 17:33:19 +01:00
omap-mcbsp.h ASoC: omap-mcbsp: Create a single driver for McBSP 2012-03-12 13:34:19 +00:00
omap-mcpdm.c ASoC: omap-mcpdm: Add device tree bindings 2012-05-22 17:33:19 +01:00
omap-mcpdm.h ASoC: omap-mcpdm: API to configure offset cancellation 2011-09-26 22:23:32 +01:00
omap-pcm.c ASoC: omap-pcm: Free dma buffers in case of error. 2012-05-04 12:09:28 +01:00
omap-pcm.h ASoC: omap-mcbsp: Create a single driver for McBSP 2012-03-12 13:34:19 +00:00
osk5912.c ASoC: omap-mcbsp: Create a single driver for McBSP 2012-03-12 13:34:19 +00:00
overo.c ASoC: omap-mcbsp: Create a single driver for McBSP 2012-03-12 13:34:19 +00:00
rx51.c ASoC: omap-mcbsp: Create a single driver for McBSP 2012-03-12 13:34:19 +00:00
sdp3430.c ASoC: omap-mcbsp: Create a single driver for McBSP 2012-03-12 13:34:19 +00:00
zoom2.c ASoC: omap-mcbsp: Create a single driver for McBSP 2012-03-12 13:34:19 +00:00