i40e: do not take NVM ownership for SR read
authorKamil Krawczyk <kamil.krawczyk@intel.com>
Wed, 4 Jun 2014 04:22:36 +0000 (04:22 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 26 Jun 2014 11:44:57 +0000 (04:44 -0700)
commit7a208e83fcedc0b845facc17d05ead0b9b73a967
tree0c4d6dcbac1f38e8b0d36911ab62d2b9ec1c8b32
parent9b8d90b963dcc6d3f3f6a616b3547ea1c8b03525
i40e: do not take NVM ownership for SR read

We do not need to acquire NVM for Shadow RAM XSUM calculation, as we only
read from SR through SRCTL register for which having the ownership is not
required.

Change-ID: Ie238a8f09917d1d25f24cc7cec271951ac7b98f2
Signed-off-by: Kamil Krawczyk <kamil.krawczyk@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_nvm.c