ARM: OMAP: USB: fix warning on EHCI PHY reset path
authorIgor Grinberg <grinberg@compulab.co.il>
Wed, 9 May 2012 07:31:35 +0000 (10:31 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 May 2012 22:20:12 +0000 (15:20 -0700)
commit7b18389dd4fe0b178117b09d054e214297f7e677
treec5ae1c2e4318049e8ee01a02948e839139381858
parent1f339d84407eda744caa5b361d67019c66532d5d
ARM: OMAP: USB: fix warning on EHCI PHY reset path

When PHY reset pin is connected to a GPIO on external GPIO chip
(e.g. I2C), we should not call the gpio_set_value() function, but
gpio_set_value_cansleep().

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Felipe Balbi <balbi@ti.com>
Tested-by: Govindraj.R <govindraj.raja@ti.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-omap.c