<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/staging/dt3155, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/staging/dt3155?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/staging/dt3155?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2010-08-03T01:11:34Z</updated>
<entry>
<title>Staging: dt3155: remove the driver</title>
<updated>2010-08-03T01:11:34Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2010-08-03T01:11:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8c310573fe4fdaedd8963890b2da39f39c01ab34'/>
<id>urn:sha1:8c310573fe4fdaedd8963890b2da39f39c01ab34</id>
<content type='text'>
There is now a proper V4L driver for this device in the tree,
so remove this one.

Cc: Scott Smedley &lt;ss@aao.gov.au&gt;
Cc: H Hartley Sweeten &lt;hartleys@visionengravers.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: dt3155: make local functions static</title>
<updated>2010-07-26T22:34:44Z</updated>
<author>
<name>H Hartley Sweeten</name>
<email>hartleys@visionengravers.com</email>
</author>
<published>2010-07-23T18:49:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=09d1485649a46fda2c5f76b9c870d820d4d8d029'/>
<id>urn:sha1:09d1485649a46fda2c5f76b9c870d820d4d8d029</id>
<content type='text'>
The functions adjust_4MB and allocate_buffers are only called locally in
dt3155_isr.c and should be static.

Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Cc: Scott Smedley &lt;ss@aao.gov.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: dt3155: make module_{init/exit} functions static</title>
<updated>2010-07-26T22:34:04Z</updated>
<author>
<name>H Hartley Sweeten</name>
<email>hartleys@visionengravers.com</email>
</author>
<published>2010-07-23T18:38:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=968181ca7e679be70bd50b82665e1f369a856ec7'/>
<id>urn:sha1:968181ca7e679be70bd50b82665e1f369a856ec7</id>
<content type='text'>
The module_init() and module_exit() functions should be static and marked
with __init and __exit.

Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Cc: Scott Smedley &lt;ss@aao.gov.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: dt3155: don't use default init_module/cleanup_module function names</title>
<updated>2010-07-22T21:49:19Z</updated>
<author>
<name>Randy Dunlap</name>
<email>randy.dunlap@oracle.com</email>
</author>
<published>2010-07-20T00:23:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=94daa643c144a5f76ac9ee2506084793d608374b'/>
<id>urn:sha1:94daa643c144a5f76ac9ee2506084793d608374b</id>
<content type='text'>
Fromy: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;

Fix the dt3155 driver to use module_init()/module_exit() instead of
default init_module() and cleanup_module() function names.

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Cc: Scott Smedley &lt;ss@aao.gov.au&gt;
Cc: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
Cc: Simon Wunderlich &lt;siwu@hrz.tu-chemnitz.de&gt;
Cc: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: dt3155: Fixed all printk warnings found by checkpatch.pl</title>
<updated>2010-07-22T21:40:05Z</updated>
<author>
<name>Joe Eloff</name>
<email>kagen101@gmail.com</email>
</author>
<published>2010-07-22T20:00:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c30d6cb7fb587d3dda068f40c629855dfa141652'/>
<id>urn:sha1:c30d6cb7fb587d3dda068f40c629855dfa141652</id>
<content type='text'>
Added all KERN_ levels in printk found by checkpatch.pl

Signed-off-by: Joe Eloff &lt;kagen101@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: dt3155: Change include to linux header</title>
<updated>2010-07-22T21:38:54Z</updated>
<author>
<name>Joe Eloff</name>
<email>kagen101@gmail.com</email>
</author>
<published>2010-07-22T19:59:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=b0c983375df8aafdddf250009a7bb929225e6011'/>
<id>urn:sha1:b0c983375df8aafdddf250009a7bb929225e6011</id>
<content type='text'>
Changed &lt;asm/uaccess.h&gt; to &lt;linux/uaccess.h&gt;

Signed-off-by: Joe Eloff &lt;kagen101@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: autoconvert trivial BKL users to private mutex</title>
<updated>2010-07-22T18:10:29Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2010-07-11T21:18:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8e2394a981b9258db47f8e223a550d46c6d40cc8'/>
<id>urn:sha1:8e2394a981b9258db47f8e223a550d46c6d40cc8</id>
<content type='text'>
All these files use the big kernel lock in a trivial
way to serialize their private file operations,
typically resulting from an earlier semi-automatic
pushdown from VFS.

None of these drivers appears to want to lock against
other code, and they all use the BKL as the top-level
lock in their file operations, meaning that there
is no lock-order inversion problem.

Consequently, we can remove the BKL completely,
replacing it with a per-file mutex in every case.
Using a scripted approach means we can avoid
typos.

file=$1
name=$2
if grep -q lock_kernel ${file} ; then
    if grep -q 'include.*linux.mutex.h' ${file} ; then
            sed -i '/include.*&lt;linux\/smp_lock.h&gt;/d' ${file}
    else
            sed -i 's/include.*&lt;linux\/smp_lock.h&gt;.*$/include &lt;linux\/mutex.h&gt;/g' ${file}
    fi
    sed -i ${file} \
        -e "/^#include.*linux.mutex.h/,$ {
                1,/^\(static\|int\|long\)/ {
                     /^\(static\|int\|long\)/istatic DEFINE_MUTEX(${name}_mutex);

} }"  \
    -e "s/\(un\)*lock_kernel\&gt;[ ]*()/mutex_\1lock(\&amp;${name}_mutex)/g" \
    -e '/[      ]*cycle_kernel_lock();/d'
else
    sed -i -e '/include.*\&lt;smp_lock.h\&gt;/d' ${file}  \
                -e '/cycle_kernel_lock()/d'
fi

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: dt3155: use the fbuffer pointer instead of looking it up</title>
<updated>2010-07-22T18:04:00Z</updated>
<author>
<name>H Hartley Sweeten</name>
<email>hartleys@visionengravers.com</email>
</author>
<published>2010-07-09T17:13:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=843894ada9433fd7eb3ecd4d0ae24807f1edb622'/>
<id>urn:sha1:843894ada9433fd7eb3ecd4d0ae24807f1edb622</id>
<content type='text'>
Instead of passing the minor number and having to look up the fbuffer, just
pass the fbuffer directly to the buffer management code.

Also, to make the code more consistent, change the push_empty() call so
that the fbuffer is passed as the first parameter.

Prototype the printques routine to avoid having to declare it as extern.

Cleanup some of the comments in dt3155_isr.h.

Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Cc: Scott Smedley &lt;ss@aao.gov.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: dt3155_isr: cleanup fbuffer usage</title>
<updated>2010-07-08T19:33:44Z</updated>
<author>
<name>H Hartley Sweeten</name>
<email>hartleys@visionengravers.com</email>
</author>
<published>2010-06-25T22:14:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=f0aa2a1739e03757b07fbf62680d84de54f8e59a'/>
<id>urn:sha1:f0aa2a1739e03757b07fbf62680d84de54f8e59a</id>
<content type='text'>
Now that dt3155_drv.c is not dependent on the global symbol
dt3155_fbuffer[], declared in dt3155_isr.c, remove it.

This also fixes many of the coding style problems in dt3155_isr.c.

Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Cc: Scott Smedley &lt;ss@aao.gov.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: dt3155: remove remaining 32-bit and 8-bit global registers</title>
<updated>2010-07-08T19:33:03Z</updated>
<author>
<name>H Hartley Sweeten</name>
<email>hartleys@visionengravers.com</email>
</author>
<published>2010-06-25T21:19:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=aadbdeb6d4d2239e78ab4f99417783e0f1571522'/>
<id>urn:sha1:aadbdeb6d4d2239e78ab4f99417783e0f1571522</id>
<content type='text'>
Remove the remaining global 32-bit and 8-bit i2c registers. Create a
local variable of the correct type where they are needed.

Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Cc: Scott Smedley &lt;ss@aao.gov.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
</feed>
