From: Stephen Hemminger Date: Thu, 28 Aug 2008 03:46:26 +0000 (-0700) Subject: sky2: EEPROM read/write bug fixes X-Git-Tag: v2.6.28-rc1~717^2~318 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1413235c14301c4bd27aabf408e4336719b6f505;p=pandora-kernel.git sky2: EEPROM read/write bug fixes Cleanup and harden the routines accessing the EEPROM. 1. Prevent spin forever waiting for the TWSI bus 2. Fix write eeprom to write full words rather than only 16 bits Luckly the vendor doesn't provide EEPROM in Linux format so it must never have been used. 3. Don't allow partial eeprom writes, not needed, not safe. These are non-urgent bug fixes. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed