diff options
author | Mario Kleiner <mario.kleiner.de@gmail.com> | 2016-02-12 20:30:31 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-02-17 14:19:03 +1000 |
commit | e0b34e3857004ac2257458d6354c31349f51e207 (patch) | |
tree | aa49831290079332716f16ab7375293b9ca7b422 /drivers/xen/xen-acpi-pad.c | |
parent | bb74fc1bf3072bd3ab4ed5f43afd287a63baf2d7 (diff) |
drm/radeon/pm: Handle failure of drm_vblank_get.
Make sure that drm_vblank_get/put() stay balanced in
case drm_vblank_get fails, by skipping the corresponding
put.
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: michel@daenzer.net
Cc: dri-devel@lists.freedesktop.org
Cc: alexander.deucher@amd.com
Cc: christian.koenig@amd.com
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/xen/xen-acpi-pad.c')
0 files changed, 0 insertions, 0 deletions