commit | 2085cc5d3ccdc804eb320d1403be31cf28650552 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Nov 29 18:43:03 2017 +0200 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Fri Dec 01 17:05:15 2017 +0200 |
tree | 2638b06e00d51466988ad25b135f4451b2af840d | |
parent | 68ec0736a00d38f2ac4907ffe8ad141ead15c075 [diff] |
drm/i915: Fix has_audio readout for DDI A Transcoder EDP does not support audio. Let's not try to read the state of the audio enable bit HSW_AUD_PIN_ELD_CP_VLD based on the pipe when using transcoder EDP. While at it make the function static and flatten it. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20171129164303.18793-3-ville.syrjala@linux.intel.com Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>