mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-07-08 18:13:59 +02:00
154ac84d49
commit31457db375upstream. When the probe fails, we must disable the regulator that was previously enabled. This patch is a follow-up to commitac88c531a5("net: davicom: Fix regulator not turned off on failed probe") which missed one case. Fixes:7994fe55a4("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>