gfx: drv: cleanup dsi pll lock loop in mdfld_restore_display_registers
authorImre Deak <imre.deak@intel.com>
Tue, 6 Mar 2012 19:17:28 +0000 (21:17 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:30:28 +0000 (12:30 +0300)
commit14a8254076eca87033c35dd16ad3d4c18db3da61
tree3f1b285785ff32ffd21737eb9e6aea4e73484d13
parent2e6dedc56b93675be3c0bd3ab64b69acf2c1b484
gfx: drv: cleanup dsi pll lock loop in mdfld_restore_display_registers

Use the already existing macro to wait for the HW flag becoming set. The
current timeout value will change from the current 3 second. The actual
PLL settling time according to measurement is < 100usec or 200
iterations of the busy wait loop. So the new timeout duration of 100000
iterations should be enough.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/drv/psb_powermgmt.c