]> git.baikalelectronics.ru Git - kernel.git/commit
drm/meson: Fix some error handling paths in 'meson_drv_bind_master()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 12 Mar 2018 20:15:10 +0000 (21:15 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 13 Mar 2018 09:38:28 +0000 (10:38 +0100)
commit1cf9642ac17dfcfdb368413f97312d721273c383
treefab211d0c020d513b280ac22eabb7119abb368c5
parent27132c7d4c16da03ccc32e2b7684e47ea746e437
drm/meson: Fix some error handling paths in 'meson_drv_bind_master()'

If one of these functions fail, we whould free 'drm', as alreadry done in
the other error handling paths, below and above.

Fixes: e5a2f708e761 ("drm: Add support for Amlogic Meson Graphic Controller")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/df47e03d36c2cf7bc37ec3105fc47c16555bd946.1520885192.git.christophe.jaillet@wanadoo.fr
drivers/gpu/drm/meson/meson_drv.c