]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: clear the data field in ixgbe_read_i2c_byte_generic
authorEmil Tantilov <emil.s.tantilov@intel.com>
Tue, 30 Aug 2011 13:33:51 +0000 (13:33 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:12:19 +0000 (22:12 +0800)
commit176adbb286cf0a5ae6df1714c6f6727c36bc767d
treee0e2634f9e1e1eab7c1ed227a618ea454d071d25
parent67e6d8623acc68b59dbc10bda5b3ae6dd3a71450
ixgbe: clear the data field in ixgbe_read_i2c_byte_generic

Clear the data field in ixgbe_read_i2c_byte_generic so it does not
accumulate 1 bit using the same variable multiple times.

(cherry picked from commit 3fbaa3ac0d47e0cbad9bb65f0b71a5ce3ef1b76c)
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_phy.c