aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorSriram <srk@ti.com>2010-01-07 00:22:37 +0000
committerDavid S. Miller <davem@davemloft.net>2010-01-07 17:27:31 -0800
commit1ca518b64b4b5865b677f292322e893fa89997d4 (patch)
treef59d31d88810e021e66e073adb26d766f6ec204d /drivers/virtio
parentdmfe/tulip: Let dmfe handle DM910x except for SPARC on-board chips (diff)
downloadlinux-dev-1ca518b64b4b5865b677f292322e893fa89997d4.tar.xz
linux-dev-1ca518b64b4b5865b677f292322e893fa89997d4.zip
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 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions