diff options
author | Jiri Pirko <jiri@mellanox.com> | 2016-10-20 16:05:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-20 11:11:11 -0400 |
commit | 164c971d1cc365dc85e5cf9a9302a91c0cf7f126 (patch) | |
tree | a234e59fb4ab6bba794d3ff026d4975812628dc3 /net | |
parent | 7fb6a36bab6b0b158f93eb13faa1b440f8b26009 (diff) | |
download | linux-164c971d1cc365dc85e5cf9a9302a91c0cf7f126.tar.gz linux-164c971d1cc365dc85e5cf9a9302a91c0cf7f126.tar.bz2 linux-164c971d1cc365dc85e5cf9a9302a91c0cf7f126.zip |
mlxsw: pci: Fix reset wait for SwitchX2
SwitchX2 firmware does not implement reset done yet. Moreover, when
busy-polled for ready magic, that slows down firmware and reset takes
longer than the defined timeout, causing initialization to fail.
So restore the previous behaviour and just sleep in this case.
Fixes: 233fa44bd67a ("mlxsw: pci: Implement reset done check")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions