summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2014-08-11 14:50:42 -0700
committerDavid S. Miller <davem@davemloft.net>2014-08-11 15:10:11 -0700
commite4a60a93c4a6e7dd4e3e82736b932375598a26fd (patch)
tree96ec0dcda6a0bb9535bc5a13bdb55ddb229be97e /Kbuild
parent8dff81e87d5c2867d7401f8ee7b1eb3e3aa2ba8d (diff)
net: bcmgenet: request and enable main clock earlier
bcmgenet_set_hw_params() will read the hardware version and compare it with the one we are getting from Device Tree. Due to the clock being enabled too late, bcmgenet_set_hw_params() will cause bus errors since the GENET hardware block is still gated off by the time bcmgenet_set_hw_params() is called, this will also make us fail the version check since we will read the value 0 from the hardware. Fix this by requesting the clock before the first piece of code that needs to access hardware register. Fixes: 1c1008c793fa4 ("net: bcmgenet: add main driver file") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions