]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mlxsw: pci: Return error on PCI reset timeout
authorNir Dotan <nird@mellanox.com>
Fri, 18 Jan 2019 15:57:57 +0000 (15:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jan 2019 23:12:16 +0000 (15:12 -0800)
commit67c14cc9b35055264fc0efed00159a7de1819f1b
tree5578f78a79c4e71bbb9a8c5ea2c0b5583e0af30d
parentd2f372ba0914e5722ac28e15f2ed2db61bcf0e44
mlxsw: pci: Return error on PCI reset timeout

Return an appropriate error in the case when the driver timeouts on waiting
for firmware to go out of PCI reset.

Fixes: 233fa44bd67a ("mlxsw: pci: Implement reset done check")
Signed-off-by: Nir Dotan <nird@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/pci.c