pci: imx: request gpio before use
authorPeng Fan <peng.fan@nxp.com>
Tue, 2 Jan 2018 10:27:29 +0000 (18:27 +0800)
committerStefano Babic <sbabic@denx.de>
Fri, 12 Jan 2018 13:28:04 +0000 (14:28 +0100)
commit67b71df277196f1649c366e52545f5bfccf56e03
tree0d637283a42f6a33c817d7a143d1b7f1b28add45
parentd9523fdd11dacdf7e01216c470ef1a7a4fabf0b8
pci: imx: request gpio before use

Before use GPIO, we need to request gpio first. Free gpio after use.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Stefano Babic <ssbabic@denx.de>
drivers/pci/pcie_imx.c