]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/omap: Fix error handling path in 'omap_dmm_probe()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 24 Sep 2017 06:01:03 +0000 (08:01 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 30 Nov 2017 10:25:37 +0000 (12:25 +0200)
commit8677b1ac2db021ab30bb1fa34f1e56ebe0051ec3
treee0206901a21e9a1161fc2a157c26960e4d9c4fb1
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
drm/omap: Fix error handling path in 'omap_dmm_probe()'

If we don't find a matching device node, we must free the memory allocated
in 'omap_dmm' a few lines above.

Fixes: 7cb0d6c17b96 ("drm/omap: fix TILER on OMAP5")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c