diff options
author | Christophe Branchereau <cbranchereau@gmail.com> | 2022-03-21 16:36:51 +0300 |
---|---|---|
committer | Paul Cercueil <paul@crapouillou.net> | 2022-04-05 23:41:36 +0300 |
commit | a271bf324150846a253f5cf5406faf600bf64b0c (patch) | |
tree | 3164c22616c532d9ac24144cf43cbdab5baee000 /drivers/comedi | |
parent | 49956b505c53923723370a8960ae8fcd9e2b2116 (diff) | |
download | linux-a271bf324150846a253f5cf5406faf600bf64b0c.tar.xz |
drm/panel: innolux-ej030na and abt-y030xx067a: add .enable and .disable
Following the introduction of bridge_atomic_enable in the ingenic
drm driver, the crtc is enabled between .prepare and .enable, if
it exists. Add it so the backlight is only enabled after the crtc is, to
avoid graphical issues.
As we're moving the "sleep out" command out of the init sequence
into .enable for the ABT, we need to switch the regmap cache
to REGCACHE_FLAT to be able to use regmap_set_bits, given this
panel registers are write-ony and read as 0.
Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
[pcercuei: Remove empty line after opening brace]
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220321133651.291592-4-cbranchereau@gmail.com
Diffstat (limited to 'drivers/comedi')
0 files changed, 0 insertions, 0 deletions