Did you verify this works as intended? I didn't and consider it
possible that after
the clk is off. Probably it just works, just want to prevent hard to
find bugs ...
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
The clk should not be off. Looking at _REGISTER_CLOCK below, we are
registering both fec.0 and fec.1 on the same one fec_clk. IOW, the
usecount of the clk is working to control the on/off of the clk.
#define _REGISTER_CLOCK(d, n, c) \
.dev_id = d, \
.con_id = n, \
.clk = &c, \