Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
From: Philip Balister <philip@balister.org>
To: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Nagging free/reclaim gpio's
Date: Mon, 30 Aug 2010 14:25:39 -0400	[thread overview]
Message-ID: <4C7BF7A3.3000900@balister.org> (raw)

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

             reply	other threads:[~2010-08-30 18:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-30 18:25 Philip Balister [this message]
2010-08-30 18:54 ` Nagging free/reclaim gpio's Felipe Balbi
     [not found]   ` <4C7C0B2B.6080407@balister.org>
2010-08-31  5:52     ` Felipe Balbi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C7BF7A3.3000900@balister.org \
    --to=philip@balister.org \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox