drm/tilcdc: split reset to a separate function
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 20 Oct 2015 06:37:27 +0000 (09:37 +0300)
committerJyri Sarha <jsarha@ti.com>
Thu, 25 Feb 2016 14:39:38 +0000 (16:39 +0200)
commit2efec4f3064d084bac1b2c1e1513a7452e8e245d
tree5544d77e9c5b2f623e9e2f594049d015bfa09bba
parent1aea1e79dbfd65a99da11868829c3e147b85cc32
drm/tilcdc: split reset to a separate function

Split reset to a separate function and use usleep_range(250, 1000)
instead of msleep(1) to to keep the reset bit on long enough.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
[Added description to the patch, changed mdelay(500) to usleep_range(250, 1000)]
Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c