PCI: rockchip: Check for clk_prepare_enable() errors during resume
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 15 Jun 2017 21:41:25 +0000 (16:41 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Sun, 2 Jul 2017 23:45:57 +0000 (18:45 -0500)
commit94b1d0896af5bf0249a4e3b049d7d4c3b502493e
tree33647ea5d20962131db6c893acfded6148973c49
parentc05221d56982c93f586c8c4ddec958afb71fe9ca
PCI: rockchip: Check for clk_prepare_enable() errors during resume

clk_prepare_enable() can fail here and we must check its return value.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Shawn Lin <shawn.lin@rock-chips.com>
drivers/pci/host/pcie-rockchip.c