drm/vc4: Fix NULL deref in HDMI init error path
authorEric Anholt <eric@anholt.net>
Mon, 4 Apr 2016 21:25:59 +0000 (14:25 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 14 Apr 2016 19:23:11 +0000 (12:23 -0700)
commit5883980313af70aec0ceebaef6ef0709726e5e63
treee341061a2cd45c3909d4184acaeb113cdeb49cb4
parent08302c35b59d306ff37b996e56fb2a488c1d2c2e
drm/vc4: Fix NULL deref in HDMI init error path

If you make it here other than through err_destroy_encoder, vc4->hdmi
is still NULL.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_hdmi.c