From: Takashi Iwai <tiwai@suse.de>
To: libin.yang@linux.intel.com
Cc: libin.yang@intel.com, mengdong.lin@intel.com,
alsa-devel@alsa-project.org
Subject: Re: [PATCH 4/4] ALSA: hda - hdmi monitor hotplug support for dynamic pcm assignment
Date: Thu, 07 Jan 2016 15:18:22 +0100 [thread overview]
Message-ID: <s5hio35fp75.wl-tiwai@suse.de> (raw)
In-Reply-To: <1451524942-17288-5-git-send-email-libin.yang@linux.intel.com>
On Thu, 31 Dec 2015 02:22:22 +0100,
libin.yang@linux.intel.com wrote:
>
> From: Libin Yang <libin.yang@linux.intel.com>
>
> This patch adds the support for monitor hotplug of dynamic pcm assignment.
>
> 1. unsol_event enabling
> - For codec_has_acomp, unsol_event is disabled.
> - For !codec_has_acomp && !dyn_pcm_assign, use the hda_jack helper to
> enable unsol_event
> - For !codec_has_acomp && dyn_pcm_assign, enable unsol_event with verb
> directly
>
> 2. unsol_event handling
> - For !dyn_pcm_assign, use hda_jack helper to report the event
> - For dyn_pcm_assign, use snd_jack_report() directly
I guess we can reduce lots of codes if ignoring the case with
dyn_pcm_assign but without audio component? If so, for simplicity, we
can limit dyn_pcm_assign only tied with audio component. Just add a
WARN_ON() in such a case. Although the functionality is somehow
unrelated, the actual testing and coding is more targeted with Intel
chips that are only with audio component.
Takashi
next prev parent reply other threads:[~2016-01-07 14:18 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-31 1:22 [PATCH 0/4] ALSA: hda - hdmi jack support for dynamic pcm assignment libin.yang
2015-12-31 1:22 ` [PATCH 1/4] ALSA: Add documentation about HD-audio DP MST libin.yang
2015-12-31 1:22 ` [PATCH 2/4] ALSA: hda - add hdmi_pcm to manage hdmi pcm related features libin.yang
2016-01-07 13:59 ` Takashi Iwai
2016-01-08 2:48 ` Yang, Libin
2015-12-31 1:22 ` [PATCH 3/4] ALSA: hda - hdmi jack created based on pcm libin.yang
2016-01-07 14:13 ` Takashi Iwai
2016-01-08 3:15 ` Yang, Libin
2016-01-08 7:43 ` Takashi Iwai
2016-01-08 7:52 ` Yang, Libin
2016-01-08 7:54 ` Takashi Iwai
2016-01-08 7:57 ` Yang, Libin
2015-12-31 1:22 ` [PATCH 4/4] ALSA: hda - hdmi monitor hotplug support for dynamic pcm assignment libin.yang
2016-01-07 14:18 ` Takashi Iwai [this message]
2016-01-08 5:25 ` Yang, Libin
2016-01-08 7:45 ` Takashi Iwai
2016-01-08 7:53 ` Yang, Libin
2016-01-06 9:18 ` [PATCH 0/4] ALSA: hda - hdmi jack " Takashi Iwai
2016-01-07 1:41 ` Yang, Libin
2016-01-07 10:31 ` Takashi Iwai
2016-01-08 2:47 ` Yang, Libin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hio35fp75.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=libin.yang@intel.com \
--cc=libin.yang@linux.intel.com \
--cc=mengdong.lin@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox