commit | e334c401f3fc9fdf2321e14a5204d591a0713e7f | [log] [tgz] |
---|---|---|
author | Paul Cercueil <paul@crapouillou.net> | Sun Mar 07 13:17:47 2021 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Mar 17 17:06:15 2021 +0100 |
tree | 1db624ae99d21c70c9bf99cda2d0eb6a1fbfe22c | |
parent | 6342ccdfdf2bfb47e80037508dc75bd4e7ace184 [diff] |
net: davicom: Fix regulator not turned off on failed probe commit ac88c531a5b38877eba2365a3f28f0c8b513dc33 upstream. When the probe fails or requests to be defered, we must disable the regulator that was previously enabled. Fixes: 7994fe55a4a2 ("dm9000: Add regulator and reset support to dm9000") Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>