aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2017-05-10 12:21:49 +0300
committerImre Deak <[email protected]>2017-05-10 13:47:43 +0300
commit99016646608148be3cf3df157a60f83447dc45aa (patch)
tree6027a9038dfd89148ea7ea8a7f61b952b1d9c32c /tools/perf/scripts/python
parent9bacd4b1f8553428c5723e4c8f2ca491b400e429 (diff)
drm/i915/sdvo: Check error return from intel_sdvo_get_value()
The current code assumes that 'enhancements' won't change in case of an error, but this isn't guaranteed. Fix things by treating any error as a lack of the given capability. v2: - Remove the now redundant init of enhancements. (Ville) Cc: Ville Syrjälä <[email protected]> Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions