diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2018-01-10 21:59:40 +0300 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2018-01-15 17:17:24 +0300 |
commit | 10399b22c1a0e0bbbf56460447e7e602737b0058 (patch) | |
tree | 44fe4329980916961dbee424cfa528812fc78f8f /drivers/gpu/drm/tinydrm | |
parent | fe4be3b8f3e6345b398bf3f44b50676e471e1c37 (diff) | |
download | linux-10399b22c1a0e0bbbf56460447e7e602737b0058.tar.xz |
drm/tinydrm/mipi-dbi: Change reset active time
The MIPI DBI spec states that reset active/low time should be more
than 9us. Change from 20ms to 20us.
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: David Lechner <david@lechnology.com>
Tested-by: David Lechner <david@lechnology.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180110185940.53841-8-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/tinydrm')
-rw-r--r-- | drivers/gpu/drm/tinydrm/mipi-dbi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tinydrm/mipi-dbi.c b/drivers/gpu/drm/tinydrm/mipi-dbi.c index 6798b4837441..75dd65c57e74 100644 --- a/drivers/gpu/drm/tinydrm/mipi-dbi.c +++ b/drivers/gpu/drm/tinydrm/mipi-dbi.c @@ -414,7 +414,7 @@ void mipi_dbi_hw_reset(struct mipi_dbi *mipi) return; gpiod_set_value_cansleep(mipi->reset, 0); - msleep(20); + usleep_range(20, 1000); gpiod_set_value_cansleep(mipi->reset, 1); msleep(120); } |