]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a76da1a70a404342a78c3428991870322d98d8d
tree6576d073235f8f1fc591e1f895e79641c30726f3
parentff669cae9df7f911dc4ed37806f2c0e9e16ce585
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