linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ge Gao <ggao@invensense.com>
To: linux-iio@vger.kernel.org
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Subject: trigger removal problems.
Date: Thu, 10 May 2012 16:42:19 -0700	[thread overview]
Message-ID: <a29bae2d2e7e26ca76d6d3209f0e387b@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

Dear all,

                I am building my IIO driver as a module and will constantly
need to use “insmod” and “rmmod” to install it and remove it due to
development. However, I found that if I write anything to the
“trigger/current_trigger”, it will not be able to remove it. The error code
is (11). Even I write “null” to it, it will not be able to be removed.
However, If I don’t write anything to it, just insmod and rmmod, it will be
remove successfully. Any idea what could cause this problem? I followed
what is in the IIO subsystem driver to write my driver. I can post it if
anyone want to take a look.

                Thanks.



Ge

[-- Attachment #2: Type: text/html, Size: 2066 bytes --]

                 reply	other threads:[~2012-05-10 23:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=a29bae2d2e7e26ca76d6d3209f0e387b@mail.gmail.com \
    --to=ggao@invensense.com \
    --cc=jic23@cam.ac.uk \
    --cc=linux-iio@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;
as well as URLs for NNTP newsgroup(s).