# Re: \[PATCH v3 2/2\] Input: ads7846: use gpio\_request\_one to configure pendown\_gpio

- From: Wolfram Sang \<hidden\>
- Date: 2011-02-04 14:08:47 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2011/02/8567752
- Thread: https://ratatoskr.run/linux-arm-kernel/2011/02/8567653/t.md

```text
On Fri, Feb 04, 2011 at 07:02:50PM +0530, G, Manjunath Kondaiah wrote:
> On Thu, Feb 03, 2011 at 09:19:53AM -0800, Dmitry Torokhov wrote:
> > On Thu, Feb 03, 2011 at 08:54:05AM -0800, Dmitry Torokhov wrote:
> > > On Thu, Feb 03, 2011 at 08:51:46PM +0530, Sourav Poddar wrote:
> > > > The ads7846 driver requests a gpio but does not currently
> > > > configure it explicitly as an input. Use gpio_request_one
> > > > to request and configure it at one shot.
> > > > 
> > > > Signed-off-by: Sourav Poddar <redacted>
> > > > Cc: Dmitry Torokhov <redacted>
> > > 
> > > Will apply this one, the other one is a bit messy IMO, will have to
> > > think about it.
> > > 
> > 
> > Something like below should do I think.
> Patch looks good but it applies only on top of previous patch:
> https://patchwork.kernel.org/patch/529941/
> 
> Why to have two patches for this fix?

http://www.spinics.net/lists/linux-omap/msg45167.html

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-input/2011/02/8567752/attachment/0) (application/pgp-signature, 198 bytes)
