Re: [PATCH] mfd: sun4i-gpadc: Interrupt numbers should start from 1

2020-09-30 Thread Maxime Ripard
On Thu, Sep 17, 2020 at 04:01:17PM +0200, Ondřej Jirman wrote: > Hello Maxime, > > On Thu, Sep 17, 2020 at 03:19:04PM +0200, Maxime Ripard wrote: > > Hi, > > > > On Sat, Sep 12, 2020 at 01:22:00PM +0200, Ondrej Jirman wrote: > > > mfd: sun4i-gpadc: Interrupt numbers should start from 1 > > > > W

Re: [PATCH] mfd: sun4i-gpadc: Interrupt numbers should start from 1

2020-09-17 Thread Ondřej Jirman
Hello Maxime, On Thu, Sep 17, 2020 at 03:19:04PM +0200, Maxime Ripard wrote: > Hi, > > On Sat, Sep 12, 2020 at 01:22:00PM +0200, Ondrej Jirman wrote: > > mfd: sun4i-gpadc: Interrupt numbers should start from 1 > > Why? An hwirq with 0 is totally fine > > > This avoids a warning: > > > > [2

Re: [PATCH] mfd: sun4i-gpadc: Interrupt numbers should start from 1

2020-09-17 Thread Maxime Ripard
Hi, On Sat, Sep 12, 2020 at 01:22:00PM +0200, Ondrej Jirman wrote: > mfd: sun4i-gpadc: Interrupt numbers should start from 1 Why? An hwirq with 0 is totally fine > This avoids a warning: > > [2.891592] [ cut here ] > [2.895052] WARNING: CPU: 0 PID: 149 at drivers

[PATCH] mfd: sun4i-gpadc: Interrupt numbers should start from 1

2020-09-12 Thread Ondrej Jirman
This avoids a warning: [2.891592] [ cut here ] [2.895052] WARNING: CPU: 0 PID: 149 at drivers/base/platform.c:317 __platform_get_irq_byname+0x7c/0x8c [2.903212] usb 1-1: new high-speed USB device number 2 using ehci-platform [2.908930] 0 is an invalid IRQ n