]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: add write flush in ixgbe_clock_out_i2c_byte()
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 4 Nov 2011 06:43:23 +0000 (06:43 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:35:03 +0000 (22:35 +0800)
commit0b6922b2449760a8133a9318bcd755f9bf42428f
tree5e3294820ecc7344d80324c96123786ea4f5ac51
parentd32f407a8d28db129d7f8765f3e73f8e3434799f
ixgbe: add write flush in ixgbe_clock_out_i2c_byte()

I2C access is timing critical. Always do a write flush after writing
to the I2CCTL register.

(cherry picked from commit 176f950d310c81b7fafd96aabe53704f778ce269)
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