diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-04-11 11:02:08 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-28 12:05:46 +0200 |
| commit | f528b76bccd39987895a8a8cea59958a65cb9a49 (patch) | |
| tree | aabebb386c548da7e078340979d9dee110148359 /lib/mpi/mpiutil.c | |
| parent | d34b892fcf9b20eedf01c29da8ccf951c9eb2469 (diff) | |
net: davicom: Fix regulator not turned off on failed probe
commit 31457db3750c0b0ed229d836f2609fdb8a5b790e upstream.
When the probe fails, we must disable the regulator that was previously
enabled.
This patch is a follow-up to commit ac88c531a5b3
("net: davicom: Fix regulator not turned off on failed probe") which missed
one case.
Fixes: 7994fe55a4a2 ("dm9000: Add regulator and reset support to dm9000")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
