OMAP: DSS2: Ensure non-zero FIR values are configured
authorAmber Jain <amber@ti.com>
Thu, 19 May 2011 14:17:51 +0000 (19:47 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 23 May 2011 05:29:47 +0000 (08:29 +0300)
commited14a3ce9878185ea8348cc2f2e9b53129f84dc7
tree9a60204fac6756f6b0f6955e37064e4f90786114
parentf20e42205ab172cfd449c10e5183e2e371a629d6
OMAP: DSS2: Ensure non-zero FIR values are configured

FIR values can never be zero as per TRM, and the current code writes zero
when scaling is not used. It was not causing any problem as scaling was
disabled when zero was written. Its still safer to not write zero to
it in any case.
Now we configure correct FIR values even when scaling is not used (i.e. set FIR
to 1024 when scaling is not used), but the scaling enable bits are still kept
off if the scaling is not needed.

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