drm/vc4: Fix leak of HDMI EDID
authorEric Anholt <eric@anholt.net>
Tue, 8 Aug 2017 20:56:05 +0000 (13:56 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 14 Aug 2017 19:39:33 +0000 (12:39 -0700)
commit5afe0e62a548a0aa7d2095a98530b68f3d2c64e6
treecf1ca6807816a2d4b7bd129e1c54ffa9ae0c0800
parentb88fa004e8a349eba38a3df7a3ace9dd1730b6e0
drm/vc4: Fix leak of HDMI EDID

We don't keep a pointer to it around anywhere, so it's our job to free
it.

Cc: Stefan Wahren <stefan.wahren@i2se.com>
Link: https://github.com/anholt/linux/issues/101
Fixes: c8b75bca92cb ("drm/vc4: Add KMS support for Raspberry Pi.")
Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20170808205605.4432-1-eric@anholt.net
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
drivers/gpu/drm/vc4/vc4_hdmi.c