diff options
author | Elaine Wang <[email protected]> | 2016-12-19 18:19:05 +0800 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2016-12-22 12:29:17 +0200 |
commit | 108109444ff64fb1a2976174ec23e9e2117b5709 (patch) | |
tree | 58909e09df02c6be320da59a49610f90fd79952d /tools/perf/scripts/python/stackcollapse.py | |
parent | 093d680a482f5c840f9e290ac2a678a9132d5a92 (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 <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Jani Nikula <[email protected]>
Signed-off-by: Elaine Wang <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions