[alsa-devel] [PATCH] ASoC: codec: hdac_hdmi: no checking monitor in hw_params

Takashi Iwai tiwai at suse.de
Tue May 7 10:42:45 CEST 2019


On Tue, 07 May 2019 08:33:11 +0200,
libin.yang at intel.com wrote:
> 
> From: Libin Yang <libin.yang at intel.com>
> 
> Some userspace apps, like pulseaudio, may call open, hw_params,
> prepare to judge whether the pcm is ready or not. Current hdac_hdmi
> will return -ENODEV if monitor is not connected, which will cause
> the apps believe the pcm is not ready. Actually PCM for hdmi is ready,
> even the monitor is not connected.
> 
> This patch removes the check of monitor presence in hw_params, just like
> what the legacy HD-Audio driver does.
> 
> Signed-off-by: Libin Yang <libin.yang at intel.com>

LTGM,
  Reviewed-by: Takashi Iwai <tiwai at suse.de>


thanks,

Takashi


More information about the Alsa-devel mailing list