]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Remove drm_vblank_cleanup from drm_vblank_init error path.
authorMario Kleiner <mario.kleiner.de@gmail.com>
Wed, 6 Aug 2014 01:22:44 +0000 (03:22 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 6 Aug 2014 20:39:32 +0000 (22:39 +0200)
commitd7ac695812f7f6190d122900dafeaaa6ed02ae8d
tree367698e58cdcdf3a14a0fef6ef687f96ea5de246
parent10a1bcaa63dcb710dd88cf6f6061736a71fad45c
drm: Remove drm_vblank_cleanup from drm_vblank_init error path.

drm_vblank_cleanup() would operate on non-existent dev->vblank
data structure, as failure to allocate that data structure is
what triggers the error path in the first place.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_irq.c