# \[PATCH 5/5\] Input: ads7846: set proper debounce time in driver level

- From: Zumeng Chen \<hidden\>
- Date: 2012-06-14 03:29:45 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2012/06/8609692
- Thread: https://ratatoskr.run/linux-arm-kernel/2012/06/8608909/t.md

```text
2012/6/13 Tony Lindgren [ref]

> * Zumeng Chen [ref] [120612 09:41]:
> > 2012/6/12 Tony Lindgren [ref]
> >
> > > * Zumeng Chen [ref] [120611 07:05]:
> > > > If we don't set proper debouce time for ads7846, then there are
> > > > flooded interrupt counters of ads7846 responding to one time
> > > > touch on screen, so the driver couldn't work well.
> > > >
> > > > And since most OMAP3 series boards pass NULL pointer of board_pdata
> > > > to omap_ads7846_init, so it's more proper to set it in driver level
> > > > after having gpio_request done.
> > > >
> > > > This patch has been validated on 3530evm.
> > > >
> > > > Signed-off-by: Zumeng Chen <redacted>
> > > > Signed-off-by: Syed Mohammed Khasim <redacted>
> > > > Signed-off-by: Tony Lindgren <tony@atomide.com>
> > >
> > > Please remove my Signed-off-by, where does that come from?
> > >
> > HI Tony,
> >
> > This comes from git://arago-project.org/git/projects/linux-omap3.git
> > The commit ID is 53c5ec31, we set gpio_debounce in arch/board
> > level.
>
> Weird, I have no recollection of doing anything with that file..
> Just remove my Signed-off-by please.
>
NP, Tony, done on V2.

Regards,
Zumeng

>
> Tony
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120614/7cb3dde7/attachment-0001.html>
```
