From: Archit Taneja Date: Mon, 7 May 2012 13:20:27 +0000 (+0530) Subject: OMAPDSS: HDMI: Fix ti_hdmi_4xxx_core_dump X-Git-Tag: v3.5-rc1~7^2~5^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c7de24771cbc4546728875dc77016bbfc0195df;p=pandora-kernel.git OMAPDSS: HDMI: Fix ti_hdmi_4xxx_core_dump The function ti_hdmi_4xxx_core_dump has some bugs, the following mention the bugs and the solutions: - The macros DUMPCORE and DUMPCOREAV in ti_hdmi_4xxx_core_dump() use hdmi_pll_base() for the offsets needed to calculate register addresses, use functions hdmi_core_sys_base() amd hdmi_av_base() to calculate the correct offsets for CORE_SYS and CORE_AV registers. - Many of the CORE_AV registers use the DUMPCORE macro, and hence the register addresses are calculated incorrectly. Rename the current DUMPCOREAV macro as DUMPCOREAV2 as it takes 2 arguments to dump indexed CORE_AV registers, create a new macro called DUMPCOREAV which is now used for dumping non-indexed CORE_AV registers. Thanks to Ancy Tom for pointing out the issues. Signed-off-by: Archit Taneja Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed