summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-12-16 12:39:11 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-17 17:12:55 -0800
commit9fe73d46edd358fc154f7332c8ff312e067255a0 (patch)
tree74ae9aacecfad384f402514fc9c952c67cb7192e /tools/perf/scripts/python/sched-migration.py
parent942325c8b234fd67db976bd529d48320a6a73171 (diff)
imx-drm: imx-drm-core: make imx_drm_crtc_register() safer
imx_drm_crtc_register() doesn't clean up the CRTC upon failure, which leaves the CRTC attached to the DRM device. Also, it does setup after attaching the CRTC to the DRM device. Fix this by reordering the function such that we do the setup before drm_crtc_init(): this fixes both issues. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions