]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Provide unlocked I2C methods
authorMark Rustad <mark.d.rustad@intel.com>
Sat, 8 Aug 2015 23:18:02 +0000 (16:18 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 12 Oct 2015 16:05:01 +0000 (09:05 -0700)
commit4a79a71702e52bbf0ff79cc148c9a5ce371111c3
treeeafee0663e8f6dd917f5d8bee956ad37a387886c
parenta5bb40e7645619e37da826629b857029a536f2c8
ixgbe: Provide unlocked I2C methods

Orabug: 21918732

Most I2C accesses take and release semaphores for each access. Now
there is a reason to perform multiple I2C operations under the same
holding of the semaphore, so provide unlocked I2C methods for that
purpose.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit bb5ce9a5cb6e915a2b284a8785686716823679d1)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.h
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c