diff options
| author | Russell King <[email protected]> | 2013-12-16 12:39:11 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-12-17 17:12:55 -0800 |
| commit | 9fe73d46edd358fc154f7332c8ff312e067255a0 (patch) | |
| tree | 74ae9aacecfad384f402514fc9c952c67cb7192e /tools/perf/scripts/python/syscall-counts.py | |
| parent | 942325c8b234fd67db976bd529d48320a6a73171 (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 <[email protected]>
Acked-by: Sascha Hauer <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions