diff options
author | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-04-12 10:40:12 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-08-03 15:18:47 +0300 |
commit | 4ffa35713e263fbf4975e14bc6f4a515b7701349 (patch) | |
tree | b665f11e169a5c6615535e57242333a8c4dcfdf3 /drivers/video/macfb.c | |
parent | b63ac1e31422077bed8257a519c6668f8868ed2b (diff) | |
download | blackbird-op-linux-4ffa35713e263fbf4975e14bc6f4a515b7701349.tar.gz blackbird-op-linux-4ffa35713e263fbf4975e14bc6f4a515b7701349.zip |
OMAP: DSS2: DSI: change DSI timeout functions
Using nanoseconds as arguments to functions that set the DSI timeouts was
perhaps not so good idea. The timeouts are based on different DSI clocks,
so the possible range for the timeouts vary greatly depending on the
clocks. Also, the multipliers used with the timeouts cause big gaps in the
timeout range, meaning that the nanosecond based functions could cause the
timeout to be quite far from the intended value.
This patch changes the functions to take the plain tick values with the
multiplier enable/disable bits, and sets the TA/LP_RX/HS_TX timeouts to
maximum. While the timeouts could be much lower, the fact is that when
TA/LP_RX/HS_TX timeout happens, we are in an error situation and not in a
hurry anyway.
STOP_STATE_COUNTER is a different matter, but it is only used at
initialization time, and won't normally affect the performance.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'drivers/video/macfb.c')
0 files changed, 0 insertions, 0 deletions