[alsa-devel] [PATCH 4/6] ASoC: OMAP: Add CPU DAI driver for HDMI

Mark Brown broonie at opensource.wolfsonmicro.com
Thu May 5 10:22:53 CEST 2011


On Thu, May 05, 2011 at 02:21:51AM -0500, Ricardo Neri wrote:

> +static int omap_hdmi_dai_startup(struct snd_pcm_substream *substream,
> +				  struct snd_soc_dai *dai)
> +{

> +	if (ovl->manager->device->state != OMAP_DSS_DISPLAY_ACTIVE) {
> +		pr_err("HDMI display is not active!\n");
> +		return -EIO;
> +	}

dev_er().  Also, why are you checking this, and are you checking it too
early?

> +MODULE_AUTHOR("Jorge Candelaria <jorge.candelaria at gmail.com>");
> +MODULE_AUTHOR("Ricardo Neri <ricardo.neri at ti.com>");
> +MODULE_DESCRIPTION("OMAP HDMI SoC Interface");
> +MODULE_LICENSE("GPL");

MODULE_ALIAS().


More information about the Alsa-devel mailing list