drm/imx: imx-ldb: fix channel->edid memleak
authorPeter Seiderer <ps.report@gmx.net>
Sun, 8 Dec 2013 21:03:57 +0000 (22:03 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 6 Jan 2015 16:36:13 +0000 (17:36 +0100)
commitf4876ffea6f310e1c7ee015687f913248a0d5f9c
tree92eeb4cdaa4b75d7ed3b50fd82120dec85fff63c
parentdcbc9eb1919359719be0ef652afe1d90b0fa98ed
drm/imx: imx-ldb: fix channel->edid memleak

If edid was allocated during bind, it must be freed again during unbind.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/imx-ldb.c