drm/rockchip: Balance irq refcount on failure
authorSean Paul <seanpaul@chromium.org>
Fri, 16 Sep 2016 18:22:03 +0000 (14:22 -0400)
committerSean Paul <seanpaul@chromium.org>
Wed, 21 Sep 2016 13:55:53 +0000 (06:55 -0700)
commit8c763c9b1072c91aac90e5bc0a2ac2220a6980d7
tree7156b9d8311364bca44999517bac8074cc7602b8
parentd47a7246bb5f2a36f7c26672966e9febeb78bc82
drm/rockchip: Balance irq refcount on failure

If create_crtc fails in vop bind, ensure the irq refcount is zeroed
back out before exiting.

Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c