From: Daniel Vetter Date: Thu, 24 Apr 2014 21:54:51 +0000 (+0200) Subject: drm/i915: Simplify audio handling on DDI ports X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~38^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acfa75b02e72bad7c93564ac379712e29c001432;p=pandora-kernel.git 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 Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed