7 May
2019
7 May
'19
10:42 a.m.
On Tue, 07 May 2019 08:33:11 +0200, libin.yang@intel.com wrote:
From: Libin Yang libin.yang@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@intel.com
LTGM, Reviewed-by: Takashi Iwai tiwai@suse.de
thanks,
Takashi