summaryrefslogtreecommitdiff
path: root/drivers/video/omap2/dss/dss_features.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-09-01 08:16:42 +0100
committerAndy Green <andy.green@linaro.org>2011-09-01 08:16:42 +0100
commit19a63ba5a43b026d79ccc526a5c5efc20f3006f1 (patch)
tree2934819454b1a47818de9ee90d37f74965245578 /drivers/video/omap2/dss/dss_features.h
parent46a0c106324bb4ee720353ab6bea19e954448385 (diff)
OMAP: DSS2: HDMI: change regn definition
regn divider is currently programmed to the registers without change, but when calculating clock frequencies it is used as regn+1. To make this similar to how DSI handles the dividers this patch changes the regn value to be used as such for calculations, but the value programmed to registers is regn-1. This simplifies the clock frequency calculations, makes it similar to DSI, and also allows us to use regn value 0 as undefined. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dss_features.h')
0 files changed, 0 insertions, 0 deletions