Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
* Nagging free/reclaim gpio's
@ 2010-08-30 18:25 Philip Balister
  2010-08-30 18:54 ` Felipe Balbi
  0 siblings, 1 reply; 3+ messages in thread
From: Philip Balister @ 2010-08-30 18:25 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

I've got a module that claims gpio's when it is loaded and frees them 
when it is unloaded. It looks like something goes wrong when I free them:

gpio_unexport: gpio144 status -22
gpio_unexport: gpio146 status -22
gpio_unexport: gpio14 status -22
gpio_unexport: gpio21 status -22
gpio_unexport: gpio22 status -22
gpio_unexport: gpio23 status -22


Then when I try to reclaim them I get this:

gpio_request: gpio-175 (sysfs) status -16
export_store: status -16
gpio_request: gpio-175 (sysfs) status -16
export_store: status -16
gpio_request: gpio-114 (sysfs) status -16
export_store: status -16
gpio_request: gpio-114 (sysfs) status -16
export_store: status -16
gpio_request: gpio-173 (sysfs) status -16
export_store: status -16
gpio_request: gpio-173 (sysfs) status -16
export_store: status -16


This has to be silly, but I can't find the problem. Everything works 
fine, I just would like the messages to go away :)

Philip

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-31  5:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-30 18:25 Nagging free/reclaim gpio's Philip Balister
2010-08-30 18:54 ` Felipe Balbi
     [not found]   ` <4C7C0B2B.6080407@balister.org>
2010-08-31  5:52     ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox