diff options
author | Mugunthan V N <mugunthanvnm@ti.com> | 2013-12-11 22:09:05 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-12 13:46:57 -0500 |
commit | f280e89ad6a29d9969cb6b216123c798e1689bc4 (patch) | |
tree | 484f1d67dffdf05e99663930f634160ce7b98f5d /include | |
parent | d9601a36ffdb5c142697bef1228afb5ba4ee4003 (diff) | |
download | linux-f280e89ad6a29d9969cb6b216123c798e1689bc4.tar.bz2 |
drivers: net: cpsw: fix for cpsw crash when build as modules
When CPSW and Davinci MDIO are build as modules, CPSW crashes when
accessing CPSW registers in CPSW probe. The same is working in built-in
as the CPSW clocks are enabled in Davindi MDIO probe, SO Enabling the
clocks before accessing the version register and moving out the other
register access to cpsw device open.
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions