]> git.baikalelectronics.ru Git - kernel.git/commit
drm: atmel-hlcdc: fix atmel_hlcdc_crtc_reset() implementation
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 22 Apr 2016 19:28:32 +0000 (21:28 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 1 Jun 2016 13:59:35 +0000 (15:59 +0200)
commitc8c361dd2426420f2c612762926a42169bfbb7d7
tree270abc7f26d8790fc8e2ade47ec1716069cd92ef
parent50071cc55229e13f7b459c28388ff0f4e1bac824
drm: atmel-hlcdc: fix atmel_hlcdc_crtc_reset() implementation

Reset crtc->state to NULL after freeing the state object and call
__drm_atomic_helper_crtc_destroy_state() helper instead of manually
calling drm_property_unreference_blob().

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c