commit | f4444574a41430315a9c3eeb9e37cb0a36444a35 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Wed Oct 28 10:20:30 2015 -0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 01 12:03:01 2015 -0500 |
tree | f7492f987408f52aaf1945e1442812d7bac9de87 | |
parent | 523e13455ec9ec4457a5a1d24ff7132949742b70 [diff] |
fec: Use gpio_set_value_cansleep() We are in a context where we can sleep, and the FEC PHY 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: David S. Miller <davem@davemloft.net>