mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
ionic: reset device at probe
Once we're talking to the device, tell it to reset to be sure we've got a fresh, clean environment. Signed-off-by: Shannon Nelson <snelson@pensando.io> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
62ba8766f7
commit
5c78431125
|
|
@ -415,6 +415,7 @@ int ionic_setup(struct ionic *ionic)
|
|||
err = ionic_dev_setup(ionic);
|
||||
if (err)
|
||||
return err;
|
||||
ionic_reset(ionic);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user