Messages in this thread | | | Date | Fri, 18 Mar 2011 15:31:04 +0000 | From | Mark Brown <> | Subject | Re: [PATCH] NFC: Driver for Inside Secure MicroRead NFC chip |
| |
On Fri, Mar 18, 2011 at 05:08:39PM +0200, Waldemar.Rymarkiewicz@tieto.com wrote: > Wolfram,
> >> + unsigned int irq_gpio; > >> + unsigned int ioh_gpio;
> >... you should request and setup the GPIOs before using them.
> I assume the board specific code will do so.
The usual pattern is that the code which uses the GPIO requests it, otherwise all the users just end up having to replicate the setup and teardown code for them.
| |