]> Git Repo - linux.git/commit
net: davicom: Fix regulator not turned off on failed probe
authorPaul Cercueil <[email protected]>
Sun, 7 Mar 2021 13:17:47 +0000 (13:17 +0000)
committerDavid S. Miller <[email protected]>
Mon, 8 Mar 2021 20:01:58 +0000 (12:01 -0800)
commitac88c531a5b38877eba2365a3f28f0c8b513dc33
treef31ab58ed266dc600b583e5c68a7d9c67273c6f7
parent03cbb87054c17b50a6ead63ed3ab02e094a785b1
net: davicom: Fix regulator not turned off on failed probe

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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/davicom/dm9000.c
This page took 0.068372 seconds and 4 git commands to generate.