]> git.baikalelectronics.ru Git - kernel.git/commit
net: aquantia: Fix hardware reset when SPI may rarely hangup
authorIgor Russkikh <igor.russkikh@aquantia.com>
Tue, 20 Mar 2018 11:40:31 +0000 (14:40 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Mar 2018 16:02:48 +0000 (12:02 -0400)
commitfdb1d0653c7400a5d81e1e8703845c8452ef1b7e
tree13d30099399ea9f345c9a3a5dff5628a50e23a8d
parentde8346c149cdd74d141f96b62796c3a545c1bcbb
net: aquantia: Fix hardware reset when SPI may rarely hangup

Under some circumstances (notably using thunderbolt interface) SPI
on chip reset may be in active transaction.
Here we forcibly cleanup SPI to prevent possible hangups.

Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c