diff options
author | 2020-06-24 02:03:22 +0530 | |
---|---|---|
committer | 2020-06-23 20:55:44 -0700 | |
commit | 5fff701c838e0e9afeac942d2fe20879d2b260aa (patch) | |
tree | 99c4d7e1d4beb5a0810708b2546da12fb4fd3f70 /drivers/net/ethernet/intel/igc | |
parent | selftests/net: plug rxtimestamp test into kselftest framework (diff) | |
download | linux-dev-5fff701c838e0e9afeac942d2fe20879d2b260aa.tar.xz linux-dev-5fff701c838e0e9afeac942d2fe20879d2b260aa.zip |
cxgb4: always sync access when flashing PHY firmware
Access to on-chip memory for flashing PHY firmware must always
be synchronized. So, ensure the callers take on-chip memory lock.
Also fixes following sparse warning:
sge.c:1641:26: warning: context imbalance in 't4_load_phy_fw' -
different lock contexts for basic block
Fixes: 01b6961410b7 ("cxgb4: Add PHY firmware support for T420-BT cards")
Fixes: 4ee339e1e92a ("cxgb4: add support to flash PHY image")
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions