]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/msm: mdp4 lvds: continue if the panel is not connected
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 14 Aug 2015 13:42:13 +0000 (14:42 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 14 Aug 2017 10:51:08 +0000 (12:51 +0200)
commitb73000bb2163a63f0ee974f4e13d9ce84780f829
tree5546e46d8d8ba64298aa89fb2eec886510ee3963
parentdd702b41703c44e2afb82a27f32eccd7ec574792
drm/msm: mdp4 lvds: continue if the panel is not connected

Two issues:

1> Intializing panel specific bits without actual panel presence.
2> Bailing out if the detect_panel() return -ENODEV.

With the existing code if detect_panel() returns an error code the
driver would bail out without doing anything, However it could continue
intializing hdmi related things. This patch adds two things.

1> moves the panel specific intialization only if the panel is detected
2> let the driver continue with hdmi intialization if detect_panel()
return -ENODEV.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c