lkml.org 
[lkml]   [2011]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2011-03-18 16:33    [W:0.047 / U:2.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site