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>
Mon, 30 Sep 2013 14:58:26 +0000 (14:58 +0000)
commitb42285f66f871a9898a0e79e2d74bc7e7a101995
tree957ef2c395d087a3412250bab2dec1fd514bc1c1
parent5b4deb6526bdea3b10b3717623aae171509e925f
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