]> git.baikalelectronics.ru Git - kernel.git/commit
imx-drm: parallel-display: Fix DPMS default state.
authorDenis Carikli <denis@eukrea.com>
Tue, 17 Jun 2014 13:34:51 +0000 (15:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2014 00:33:37 +0000 (17:33 -0700)
commit344a9057c295e3a4b871280bebdec891f9134c0a
treec8791540d6d64cc910cb18389b5eb4b2ea70e773
parent87fc400b45594c4444d544f476fb61bb4b4881d0
imx-drm: parallel-display: Fix DPMS default state.

If connector->dpms is left untouched, it defaults
to DRM_MODE_DPMS_ON (0).

As a result, drm_helper_connector_dpms will exit when
it will be asked to set the state to DRM_MODE_DPMS_ON,
because it is already set.

That issue prevented displays from turning on at boot.

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/parallel-display.c