diff options
author | Adam Ford <aford173@gmail.com> | 2021-04-21 09:05:05 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-21 11:17:09 -0700 |
commit | 36e69da892f1224dabc4a5d0a5948764c318b117 (patch) | |
tree | a861d6f84d41cf95b12b505b54c2ac9bfc57c965 /net/bridge | |
parent | 17cb00704c217d88a93791c914a01904e685b499 (diff) | |
download | linux-36e69da892f1224dabc4a5d0a5948764c318b117.tar.bz2 |
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