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 <zajec5@xxxxxxxxx> Acked-by: Hauke Mehrtens <hauke@xxxxxxxxxx> > --- > 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html