]> 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)
commite484ba88a219f754e49268445694b3ec1e905d83
tree400b27b6a6371faa044e3f8f91003ed7fe3136c3
parent30ce6ad5b1a5fb86abcdb88e94c6447c1f24808e
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