]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix possible data corruption in read_i2c_byte
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 18 Jan 2013 02:16:41 +0000 (02:16 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 16 Feb 2013 07:16:09 +0000 (23:16 -0800)
commita3851b9b3d8bfc211054ad54203d759605ffaf05
tree400b27b6a6371faa044e3f8f91003ed7fe3136c3
parent9e96fe9ea3a6565cc2866505c8333516b780ef5d
ixgbe: fix possible data corruption in read_i2c_byte

This patch makes sure that the SW lock is released after all i2c
operations complete in the retry code path.

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>
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c