PCI: qcom: Use gpiod_set_value_cansleep() to allow reset via expanders
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 16 Jul 2017 22:56:38 +0000 (19:56 -0300)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 24 Aug 2017 16:09:17 +0000 (11:09 -0500)
commita8c2038f615ac522aa9eb55dff1b7979bef0f794
tree026f5d30d67c46917e8e3ae5e469bbf7a7c3198b
parent8c934095fa2f336d92b722f49f78ca7abf47e051
PCI: qcom: Use gpiod_set_value_cansleep() to allow reset via expanders

The reset GPIO can be connected to a I2C or SPI IO expander, which may
sleep, so it is safer to use the gpiod_set_value_cansleep() variant
instead.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
drivers/pci/dwc/pcie-qcom.c