Re: [PATCH 1/2] gpio: omap: return error if requested debounce time is not possible

2017-04-20 Thread Grygorii Strashko
On 04/20/2017 09:44 AM, David Rivshin wrote: Hi Grygorii, Not sure if you saw the question at the bottom asking for clarification on what you'd prefer as far as any dev_xxx() message for this case. If there is still concern on the other patch, I could just resubmit this standalone (perhaps aim

Re: [PATCH 1/2] gpio: omap: return error if requested debounce time is not possible

2017-04-20 Thread David Rivshin
Hi Grygorii, Not sure if you saw the question at the bottom asking for clarification on what you'd prefer as far as any dev_xxx() message for this case. If there is still concern on the other patch, I could just resubmit this standalone (perhaps aiming for 4.12 at this point). On Fri, 17 Mar 20

Re: [PATCH 1/2] gpio: omap: return error if requested debounce time is not possible

2017-03-17 Thread Grygorii Strashko
On 03/17/2017 03:50 PM, David Rivshin wrote: On Fri, 17 Mar 2017 13:54:28 -0500 Grygorii Strashko wrote: On 03/17/2017 12:54 PM, David Rivshin wrote: Hi Grygorii, On Fri, 17 Mar 2017 11:45:56 -0500 Grygorii Strashko wrote: On 03/16/2017 07:57 PM, David Rivshin wrote: From: David Rivshi

Re: [PATCH 1/2] gpio: omap: return error if requested debounce time is not possible

2017-03-17 Thread David Rivshin
On Fri, 17 Mar 2017 16:43:56 -0500 Grygorii Strashko wrote: > On 03/17/2017 03:50 PM, David Rivshin wrote: > > On Fri, 17 Mar 2017 13:54:28 -0500 > > Grygorii Strashko wrote: > > > >> On 03/17/2017 12:54 PM, David Rivshin wrote: > >>> Hi Grygorii, > >>> > >>> On Fri, 17 Mar 2017 11:45:56 -05

Re: [PATCH 1/2] gpio: omap: return error if requested debounce time is not possible

2017-03-17 Thread David Rivshin
On Fri, 17 Mar 2017 13:54:28 -0500 Grygorii Strashko wrote: > On 03/17/2017 12:54 PM, David Rivshin wrote: > > Hi Grygorii, > > > > On Fri, 17 Mar 2017 11:45:56 -0500 > > Grygorii Strashko wrote: > > > >> On 03/16/2017 07:57 PM, David Rivshin wrote: > >>> From: David Rivshin > >>> > >>> o

Re: [PATCH 1/2] gpio: omap: return error if requested debounce time is not possible

2017-03-17 Thread Grygorii Strashko
On 03/17/2017 12:54 PM, David Rivshin wrote: > Hi Grygorii, > > On Fri, 17 Mar 2017 11:45:56 -0500 > Grygorii Strashko wrote: > >> On 03/16/2017 07:57 PM, David Rivshin wrote: >>> From: David Rivshin >>> >>> omap_gpio_debounce() does not validate that the requested debounce >>> is within a ra

Re: [PATCH 1/2] gpio: omap: return error if requested debounce time is not possible

2017-03-17 Thread David Rivshin
Hi Grygorii, On Fri, 17 Mar 2017 11:45:56 -0500 Grygorii Strashko wrote: > On 03/16/2017 07:57 PM, David Rivshin wrote: > > From: David Rivshin > > > > omap_gpio_debounce() does not validate that the requested debounce > > is within a range it can handle. Instead it lets the register value > >