]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Handle force_audio correctly in intel_sdvo
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 1 May 2017 13:38:03 +0000 (15:38 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 30 May 2017 08:33:27 +0000 (10:33 +0200)
commitb32962f87acdc52a9734d15e9053e0f8fa1dcc9e
tree34c2aa2dd60f05598ea31fc16e95bc833d49fda5
parent7a5ca19f8baf12d617b34d9a2004d18b84d05fb5
drm/i915: Handle force_audio correctly in intel_sdvo

Do the same as other connectors, attempt to detect hdmi audio in
the detect() callback, and only use the force_audio property as
override. Compute has_audio in pipe_config, and use that value
instead of the probed value directly.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170501133804.8116-12-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/i915/intel_sdvo.c