[alsa-devel] [PATCH 4/6] ASoC: OMAP: Add CPU DAI driver for HDMI
broonie at opensource.wolfsonmicro.com
Fri May 6 15:21:33 CEST 2011
On Thu, May 05, 2011 at 02:35:05PM -0500, Ricardo Neri wrote:
> Am Donnerstag, den 05.05.2011, 03:22 -0500 schrieb Mark Brown:
> > dev_er(). Also, why are you checking this, and are you checking it too
> > early?
> I will replace with dev_err(). I need to check if HDMI display is active
> because the HDMI DSS driver is in charge of powering on/off the HDMI IP.
> Audio can play only if the HDMI IP is on. I don't have a .trigger
> function in my DAI so I thought it was OK to perform the check
> at .startup. Do you think I should create a .trigger function and
> perform the check from there?
Why do you need to check at all? The playback won't work when the
output isn't connected but the application layer will find that out when
there's no data transfer anyway. If you implement the check in startup
I'd imagine there may be some races with hotplug of HDMI cables.
More information about the Alsa-devel