Searched hist:"4 a3478debf36c0aa0cf0860daec245b13cd4448f" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/sound/soc/codecs/ |
H A D | hdac_hdmi.h | 4a3478debf36c0aa0cf0860daec245b13cd4448f Thu Feb 11 20:16:06 CST 2016 Jeeja KP <jeeja.kp@intel.com> ASoC: hdac_hdmi: Add jack reporting
Jack is created based on pcm devices enumerated, so we will create Jack as "HDMI/DP, pcm=x Jack". This style is expected by current usermode like PulseAudio and CRAS.
This patch exports an API which can be used to register Jack based on PCM. This API also establishes the map between PCM and cvt. Further cvt to pin mapping is established with the help of usermode selection based on the board topology.
During device probe as the PCMs may not be registered, initial pin sense don't report jack events. So, first time jack reporting is done during user selection of mux control.
Signed-off-by: Jeeja KP <jeeja.kp@intel.com> Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
|
H A D | hdac_hdmi.c | diff 4a3478debf36c0aa0cf0860daec245b13cd4448f Thu Feb 11 20:16:06 CST 2016 Jeeja KP <jeeja.kp@intel.com> ASoC: hdac_hdmi: Add jack reporting
Jack is created based on pcm devices enumerated, so we will create Jack as "HDMI/DP, pcm=x Jack". This style is expected by current usermode like PulseAudio and CRAS.
This patch exports an API which can be used to register Jack based on PCM. This API also establishes the map between PCM and cvt. Further cvt to pin mapping is established with the help of usermode selection based on the board topology.
During device probe as the PCMs may not be registered, initial pin sense don't report jack events. So, first time jack reporting is done during user selection of mux control.
Signed-off-by: Jeeja KP <jeeja.kp@intel.com> Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
|