]> 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)
commitbe73585da47413dfcde16cdb293813a6b294d6f7
tree6576d073235f8f1fc591e1f895e79641c30726f3
parentcf01c459197e0b6dc48f951a9f7c201173cd0cd4
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