On 5/7/19 3:42 AM, Takashi Iwai wrote:
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
Acked-by: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com
thanks,
Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel