commit | aded09555b7a0748a692d0d644ac54c10c1c0757 | [log] [tgz] |
---|---|---|
author | Arnaud Patard \(Rtp\) <arnaud.patard@rtp-net.org> | Mon Jul 29 21:56:47 2013 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 30 19:32:36 2013 -0700 |
tree | 134b748250bc346617d81efc83038a1f54bc6ef5 | |
parent | 7b70176421993866e616f1cbc4d0dd4054f1bf78 [diff] |
mvneta: Fix hang when loading the mvneta driver When the mvneta driver is compiled, it'll be loaded with clocks disabled. This implies that the clocks should be enabled again before any register access or it'll hang. To fix it: - enable clock earlier - move timer callback after setting timer.data Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: David S. Miller <davem@davemloft.net>