summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorElaine Wang <elaine.wang@intel.com>2016-12-19 18:19:05 +0800
committerJani Nikula <jani.nikula@intel.com>2016-12-22 12:29:17 +0200
commit108109444ff64fb1a2976174ec23e9e2117b5709 (patch)
tree58909e09df02c6be320da59a49610f90fd79952d /drivers/gpu/drm/i915/i915_drv.h
parent093d680a482f5c840f9e290ac2a678a9132d5a92 (diff)
drm/i915: Check num_pipes before initializing audio component
when num_pipes is zero, it indicates there is no display and HDMI audio doesn't exist. v2: Move the check from caller to callee for consistency. Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Jani Nikula <jani.nikula@linux.intel.com> Signed-off-by: Elaine Wang <elaine.wang@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/1482142746-21663-1-git-send-email-elaine.wang@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
0 files changed, 0 insertions, 0 deletions