From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Ge Gao MIME-Version: 1.0 Date: Thu, 10 May 2012 16:42:19 -0700 Message-ID: Subject: trigger removal problems. To: linux-iio@vger.kernel.org Cc: Jonathan Cameron Content-Type: multipart/alternative; boundary=0016e6d784fdb09de504bfb72bee List-ID: --0016e6d784fdb09de504bfb72bee Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Dear all, I am building my IIO driver as a module and will constantly need to use =93insmod=94 and =93rmmod=94 to install it and remove it due to development. However, I found that if I write anything to the =93trigger/current_trigger=94, it will not be able to remove it. The error = code is (11). Even I write =93null=94 to it, it will not be able to be removed. However, If I don=92t 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 --0016e6d784fdb09de504bfb72bee Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable

Dear all,

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 I am building my IIO d= river as a module and will constantly need to use =93insmod=94 and =93rmmod= =94 to install it and remove it due to development. However, I found that i= f I write anything to the =93trigger/current_trigger=94, it will not be abl= e to remove it. The error code is (11). Even I write =93null=94 to it, it w= ill not be able to be removed. However, If I don=92t 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.

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Thanks= .

=A0

Ge

=A0

--0016e6d784fdb09de504bfb72bee--