Messages in this thread | | | Subject | Re: [PATCH v2 5/8] usb: ohci-da8xx: add vbus and overcurrent gpios | From | Sekhar Nori <> | Date | Tue, 12 Feb 2019 13:50:55 +0530 |
| |
On 11/02/19 4:06 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski <bgolaszewski@baylibre.com> > > There are two users upstream which register external callbacks for > switching the port power on/off and overcurrent protection. Both > users only use two GPIOs for that. Instead of having that functionality > in the board files, move the logic into the OHCI driver - including > the interrupt handler for overcurrent detection. > > Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> > Acked-by: Alan Stern <stern@rowland.harvard.edu> > --- > drivers/usb/host/ohci-da8xx.c | 99 ++++++++++++++++++----------------- > 1 file changed, 50 insertions(+), 49 deletions(-) > > diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/usb/host/ohci-da8xx.c > index e8ede0b5e3f0..80c23307fbfe 100644 > --- a/drivers/usb/host/ohci-da8xx.c > +++ b/drivers/usb/host/ohci-da8xx.c > @@ -12,6 +12,7 @@ > #include <linux/io.h> > #include <linux/interrupt.h> > #include <linux/jiffies.h> > +#include <linux/gpio/consumer.h> > #include <linux/kernel.h> > #include <linux/module.h> > #include <linux/platform_device.h>
Added the new include in alphabetical order. With that minor fix, series is applied to my v5.1/soc branch.
Thanks, Sekhar
| |