OMAP: DSS2: HDMI: clean up edid reading & fix checksum
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 31 Aug 2011 08:12:40 +0000 (11:12 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2011 13:16:46 +0000 (16:16 +0300)
commit937fce138ff295df6f3bbb3b07464e3902b6bc0f
tree21bce8b3607a0b8abb55f7b9f95de815f449a023
parent032b8ea508dd0c641785f338b87c342337419ed6
OMAP: DSS2: HDMI: clean up edid reading & fix checksum

Clean up reading of EDID by passing direct address to the block being
read, instead of start address of the whole EDID memory area. Rewrite
the loop which reads the EDID.

This also fixes the checksum calculation, which used to calculate the
checksum only for the first block.

Cc: Mythri P K <mythripk@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/ti_hdmi.h
drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c