drm/bridge: vga-dac: Fix edid memory leak
authorSean Paul <seanpaul@chromium.org>
Fri, 20 Apr 2018 18:59:59 +0000 (14:59 -0400)
committerSean Paul <seanpaul@chromium.org>
Wed, 2 May 2018 19:09:21 +0000 (15:09 -0400)
commit49ceda9de2da4d1827941d06701f3017c27c1855
treebeb1feee01a0f9c8ac285a5d2bf3214b7a8863e3
parentf7aef1c207092770d06d0df21dceafdca2b49c39
drm/bridge: vga-dac: Fix edid memory leak

edid should be freed once it's finished being used.

Fixes: 56fe8b6f4991 ("drm/bridge: Add RGB to VGA bridge support")
Cc: Rob Herring <robh@kernel.org>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Archit Taneja <architt@codeaurora.org>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
Cc: <stable@vger.kernel.org> # v4.9+
Reviewed-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180420190007.1572-1-seanpaul@chromium.org
drivers/gpu/drm/bridge/dumb-vga-dac.c