On 11/01/2015 10:04 AM, Rafał Miłecki wrote: > So far we were using simple (legacy) GPIO functions & some poor logic to > control power. It got many drawbacks: we were ignoring OF flags > (GPIO_ACTIVE_LOW), we were not setting direction to output and we were > assuming gpio_request success all the time. > Fix it by switching to gpiod functions and adding appropriate checks. > > Signed-off-by: Rafał Miłecki <zaj...@gmail.com>
Acked-by: Hauke Mehrtens <ha...@hauke-m.de> > --- > V2: Include linux/gpio/consumer.h > --- > drivers/usb/host/bcma-hcd.c | 21 ++++++++++----------- > 1 file changed, 10 insertions(+), 11 deletions(-) > -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html