]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: mvebu: move clock enable before register access
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tue, 13 Aug 2013 12:25:20 +0000 (14:25 +0200)
committerJason Cooper <jason@lakedaemon.net>
Tue, 13 Aug 2013 18:20:58 +0000 (18:20 +0000)
commit826727641b2a137d95efab0f579160ae5864f780
tree53a18ffc2ae6d7022238a546a0d0614a8618f979
parentcff8975f9f6bfff4e7837118c9057570edbc7c1a
PCI: mvebu: move clock enable before register access

The clock passed to PCI controller found on MVEBU SoCs may come from a
clock gate. This requires the clock to be enabled before any registers
are accessed. Therefore, move the clock enable before register iomap to
ensure it is enabled.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/pci/host/pci-mvebu.c