Re: [PATCH] fec: Use gpio_set_value_cansleep()

2015-11-01 Thread David Miller
From: Fabio Estevam Date: Wed, 28 Oct 2015 10:20:30 -0200 > From: Fabio Estevam > > 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.

[PATCH] fec: Use gpio_set_value_cansleep()

2015-10-28 Thread Fabio Estevam
From: Fabio Estevam 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 --- drivers/net/ethernet/freescale/fec_mai