]> git.baikalelectronics.ru Git - kernel.git/commit
drm/atomic: put state on error path
authorPan Bian <bianpan2016@163.com>
Tue, 19 Jan 2021 12:11:27 +0000 (04:11 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 19 Jan 2021 13:35:22 +0000 (14:35 +0100)
commit3dfcfd0ffb3526d05a3435f5acd3842abc701aae
tree317c024d2cd9bd874fdca8dd1be5cbb34358d862
parent4639002e35824dbb250e67071c98d047349cd2b9
drm/atomic: put state on error path

Put the state before returning error code.

Fixes: f99a71d5e309 ("drm/atomic: Unify conflicting encoder handling.")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210119121127.84127-1-bianpan2016@163.com
drivers/gpu/drm/drm_atomic_helper.c