From: Tomi Valkeinen Date: Mon, 22 Aug 2011 10:16:24 +0000 (+0300) Subject: OMAP: DSS2: HDMI: change regn definition X-Git-Tag: v3.2-rc1~98^2~1^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b44e45825dbe30f32c770b98c38555b6bd331760;p=pandora-kernel.git 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. Cc: Mythri P K Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed