projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3161326
)
drm/i915/audio: extend audio sync rate support for DP MST
author
Libin Yang
<libin.yang@intel.com>
Thu, 1 Dec 2016 05:17:19 +0000
(13:17 +0800)
committer
Jani Nikula
<jani.nikula@intel.com>
Fri, 2 Dec 2016 14:20:48 +0000
(16:20 +0200)
Remove the type judgement in i915_audio_component_sync_audio_rate().
Audio rate sync is necessary for all i915 digital audio now.
Signed-off-by: Libin Yang <libin.yang@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link:
http://patchwork.freedesktop.org/patch/msgid/1480569439-54252-2-git-send-email-libin.yang@intel.com
drivers/gpu/drm/i915/intel_audio.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_audio.c
b/drivers/gpu/drm/i915/intel_audio.c
index c8a1345d8347a4afd2a5f39e1dc8756d6d65d686..3bbc96c1767f2da807bea74cb9aef43b4efdb999 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_audio.c
+++ b/
drivers/gpu/drm/i915/intel_audio.c
@@
-805,9
+805,7
@@
static int i915_audio_component_sync_audio_rate(struct device *kdev, int port,
/* 1. get the pipe */
intel_encoder = get_saved_enc(dev_priv, port, pipe);
- if (!intel_encoder || !intel_encoder->base.crtc ||
- (intel_encoder->type != INTEL_OUTPUT_HDMI &&
- intel_encoder->type != INTEL_OUTPUT_DP)) {
+ if (!intel_encoder || !intel_encoder->base.crtc) {
DRM_DEBUG_KMS("Not valid for port %c\n", port_name(port));
err = -ENODEV;
goto unlock;