diff options
author | Adam Ford <aford173@gmail.com> | 2021-04-21 16:05:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-21 20:17:09 +0200 |
commit | 36e69da892f1224dabc4a5d0a5948764c318b117 (patch) | |
tree | a861d6f84d41cf95b12b505b54c2ac9bfc57c965 /net/bridge | |
parent | stmmac: intel: set TSO/TBS TX Queues default settings (diff) | |
download | linux-36e69da892f1224dabc4a5d0a5948764c318b117.tar.xz linux-36e69da892f1224dabc4a5d0a5948764c318b117.zip |
net: ethernet: ravb: Fix release of refclk
The call to clk_disable_unprepare() can happen before priv is
initialized. This means moving clk_disable_unprepare out of
out_release into a new label.
Fixes: 8ef7adc6beb2 ("net: ethernet: ravb: Enable optional refclk")
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions