drm/tinydrm/mipi-dbi: Add mipi_dbi_enable_flush()
authorNoralf Trønnes <noralf@tronnes.org>
Wed, 10 Jan 2018 18:59:36 +0000 (19:59 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Mon, 15 Jan 2018 14:10:28 +0000 (15:10 +0100)
commit22edc8d38ba5e912d0fd0d4d23ed268ae152c5ee
tree3643c47c3aefd92e20f1b3cfa9fe52f90b1bad28
parent24e05e7a82454019fbf3b20c3006c19939571acd
drm/tinydrm/mipi-dbi: Add mipi_dbi_enable_flush()

Add and use a function for enabling, flushing and turning on backlight.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: David Lechner <david@lechnology.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180110185940.53841-4-noralf@tronnes.org
drivers/gpu/drm/tinydrm/ili9225.c
drivers/gpu/drm/tinydrm/mipi-dbi.c
drivers/gpu/drm/tinydrm/st7586.c
drivers/gpu/drm/tinydrm/st7735r.c
include/drm/tinydrm/mipi-dbi.h