commit | bd534e691adada9697b47b6c27acbca611c6fad4 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Tue Oct 27 21:41:58 2015 -0200 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Wed Nov 25 11:33:05 2015 -0600 |
tree | 6b974a44a3748bd0ea1f99024e1264ed8e520ff8 | |
parent | 1ec218373b8ebda821aec00bb156a9c94fad9cd4 [diff] |
PCI: imx6: Use gpio_set_value_cansleep() We are in a context where we can sleep, and the PCIe reset gpio may be on an I2C expander. Use the cansleep() variant when setting the GPIO value. Based on a patch from Russell King for pci-mvebu.c. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Lucas Stach <l.stach@pengutronix.de>