PCI: rockchip: Split out rockchip_cfg_atu()
authorShawn Lin <shawn.lin@rock-chips.com>
Thu, 24 Nov 2016 01:54:20 +0000 (09:54 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 7 Dec 2016 21:06:20 +0000 (15:06 -0600)
commit9e663d3f11ee34dfe92dcea98992151cae55e1ea
tree04c8f3c86e323498ae433a85a7de9b40ab8dd134
parentf37500b8aac47b436fe3fe3e63b7169f8eff190d
PCI: rockchip: Split out rockchip_cfg_atu()

Split out a new function, rockchip_cfg_atu(), in order to re-configure the
ATU when missing these information after wakeup from S3.

[bhelgaas: add "dev" temporary, return 0 when known]
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
drivers/pci/host/pcie-rockchip.c