aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorIlija Hadzic <[email protected]>2013-10-29 11:09:44 -0400
committerDave Airlie <[email protected]>2013-11-06 14:27:50 +1000
commit7e99acdcab6b3ea0c0b87445b179c7140ff9a81d (patch)
treef86d9ed4a6760e6ea5179e41b4fdc6121a1e8e17 /tools/perf/util/trace-event-scripting.c
parentfbce40641b6d8df6171775986d5aa4cce30b4e28 (diff)
drm: fix error recovery path in drm_crtc_helper_set_mode
There is no need to save or restore hwmode field, because by the time this function sets this field, it cannot fail any more. However, we should save old enabled field because if the function fails, we want to return with unchanged CRTC. Signed-off-by: Ilija Hadzic <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions