diff options
author | Sriram <srk@ti.com> | 2010-01-07 00:22:37 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-08 01:27:31 (GMT) |
commit | 1ca518b64b4b5865b677f292322e893fa89997d4 (patch) | |
tree | f59d31d88810e021e66e073adb26d766f6ec204d /crypto/lrw.c | |
parent | 4d907069bc1b745f4abd4745c332d33098e733b8 (diff) | |
download | linux-fsl-qoriq-1ca518b64b4b5865b677f292322e893fa89997d4.tar.xz |
TI DaVinci EMAC: Handle emac module clock correctly.
In the driver probe function the emac module clock needs to
be enabled before calling register_netdev(). As soon as the
device is registered the driver get_stats function can be invoked
by the core - the module clock must be switched on to be able to
read from stats registers. Also explicitly call matching clk_disable
for failure conditions in probe function.
Signed-off-by: Sriramakrishnan <srk@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/lrw.c')
0 files changed, 0 insertions, 0 deletions