OMAPDSS: APPLY: write fifo thresholds only if changed
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Sat, 26 Nov 2011 12:39:16 +0000 (14:39 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Dec 2011 06:54:59 +0000 (08:54 +0200)
commit04576d415e01aa08752bf3884db9862cfbba9115
tree6576d073235f8f1fc591e1f895e79641c30726f3
parent75ae118a0028810f93a746c25f4bb018fb044323
OMAPDSS: APPLY: write fifo thresholds only if changed

Current code will always write fifo threshold values to the register,
even if they are the same as previously. Separate the setting of fifo
fields into a separate function, and only set new values if they are
different than the old ones.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/apply.c