From: Jesper Nilsson Date: Thu, 17 Jan 2008 13:50:47 +0000 (+0100) Subject: CRIS v10: Fix bugs in i2c_init and i2c_readreg X-Git-Tag: v2.6.25-rc1~40^2~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5d5cf2442038b8ad3e0f90b00e5acdd18d5fa98;p=pandora-kernel.git CRIS v10: Fix bugs in i2c_init and i2c_readreg - Set the variable first to zero after first setup, so we can stop multiple calls to i2c_init from trying to setup i2c. - The last byte read by the master in an i2c transfer needs to be NACKed, not ACKed. - Also, remove useless CVS log and CVS id tags. --- Reading git-diff-tree failed