commit | acfa75b02e72bad7c93564ac379712e29c001432 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Apr 24 23:54:51 2014 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri May 16 11:58:18 2014 +0200 |
tree | 0d0ceb1bb51bee8c64eb2271c32527fb717a0dd1 | |
parent | 9f04003e2b1f4aeb83b5020a2e6a4d884466402a [diff] |
drm/i915: Simplify audio handling on DDI ports There's no need to check whether audio is enabled (which for ddi ports is done through the crtc->eld_vld flag) since at the cost of a potentially unecessary register rmw cycle we can unconditionally do this. Note that the edp check is just paranoia since we won't ever call the write_eld function for an edp panel. Reviewed-by: Naresh Kumar Kachhi <naresh.kumar.kachhi@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>