Re: [PATCH] USB: bcma: switch to GPIO descriptor for power control

2015-11-01 Thread kbuild test robot
Hi Rafał, [auto build test ERROR on usb/usb-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Rafa-Mi-ecki/USB-bcma-switch-to-GPIO-descriptor-for-power-control/20151101-155324 config: x86_64-randconfig

[PATCH] USB: bcma: switch to GPIO descriptor for power control

2015-11-01 Thread Rafał Miłecki
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 addi