]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: fix panel/encoder probes
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 15 Mar 2016 12:55:53 +0000 (14:55 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 16 Mar 2016 01:08:35 +0000 (11:08 +1000)
commit8378f94855e46844234f79715985dd2bb1e2638c
tree7ad7cfceb2b50393731af7cd9cce8e4b67d5722b
parent3616973b5bda16a520f69ac3e2a3e29a66e64e46
drm/omap: fix panel/encoder probes

The recent changes which removed platform data support from panels &
encoders had a few mistakes, causing probes of DVI connector and DSI
command mode panels to fail every time due to missing '!'. Fix the
if()s.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/omapdrm/displays/connector-dvi.c
drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c