]> 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)
commit4846c006305816ce20f6a41e0a6c2e34c7ddb288
tree13d30099399ea9f345c9a3a5dff5628a50e23a8d
parent6054981d5bb7984f97e1c3add5b7d86bbd310d1d
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