<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/pps, branch v3.6</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/pps?h=v3.6</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/pps?h=v3.6'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-07-31T00:25:21Z</updated>
<entry>
<title>pps: return PTR_ERR on error in device_create</title>
<updated>2012-07-31T00:25:21Z</updated>
<author>
<name>Emil Goode</name>
<email>emilgoode@gmail.com</email>
</author>
<published>2012-07-30T21:42:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=668f06b9fb846ecedb73964ca5dd95ce441707be'/>
<id>urn:sha1:668f06b9fb846ecedb73964ca5dd95ce441707be</id>
<content type='text'>
We should return PTR_ERR if the call to the device_create function fails.
Without this patch we instead return the value from a successful call to
cdev_add if the call to device_create fails.

Signed-off-by: Emil Goode &lt;emilgoode@gmail.com&gt;
Acked-by: Devendra Naga &lt;devendra.aaru@gmail.com&gt;
Cc: Alexander Gordeev &lt;lasaine@lvk.cs.msu.su&gt;
Cc: Rodolfo Giometti &lt;giometti@enneenne.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>pps: class_create() returns an ERR_PTR, not NULL</title>
<updated>2012-03-05T23:49:43Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2012-03-05T22:59:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7ad12566dc02ca76e0056af58606b5ce0181460f'/>
<id>urn:sha1:7ad12566dc02ca76e0056af58606b5ce0181460f</id>
<content type='text'>
class_create() never returns NULLs only ERR_PTRs.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Cc: Rodolfo Giometti &lt;giometti@enneenne.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>pps gpio client: add missing dependency</title>
<updated>2011-11-02T23:07:02Z</updated>
<author>
<name>Heiko Carstens</name>
<email>heiko.carstens@de.ibm.com</email>
</author>
<published>2011-11-02T20:39:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=79bc57463be2ad5020a53accbf26898e8ac04550'/>
<id>urn:sha1:79bc57463be2ad5020a53accbf26898e8ac04550</id>
<content type='text'>
Add "depends on GENERIC_HARDIRQS" to avoid compile breakage on s390:

drivers/built-in.o: In function `pps_gpio_remove':
linux-next/drivers/pps/clients/pps-gpio.c:189: undefined reference to `free_irq'

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Cc: James Nuss &lt;jamesnuss@nanometrics.ca&gt;
Cc: Rodolfo Giometti &lt;giometti@enneenne.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>pps: new client driver using GPIO</title>
<updated>2011-11-02T23:07:02Z</updated>
<author>
<name>James Nuss</name>
<email>jamesnuss@nanometrics.ca</email>
</author>
<published>2011-11-02T20:39:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=161520451dfacd0eb79d501933f47d3fb7464938'/>
<id>urn:sha1:161520451dfacd0eb79d501933f47d3fb7464938</id>
<content type='text'>
This client driver allows you to use a GPIO pin as a source for PPS
signals.  Platform data [1] are used to specify the GPIO pin number,
label, assert event edge type, and whether clear events are captured.

This driver is based on the work by Ricardo Martins who submitted an
initial implementation [2] of a PPS IRQ client driver to the linuxpps
mailing-list on Dec 3 2010.

[1] include/linux/pps-gpio.h
[2] http://ml.enneenne.com/pipermail/linuxpps/2010-December/004155.html

[akpm@linux-foundation.org: remove unneeded cast of void*]
Signed-off-by: James Nuss &lt;jamesnuss@nanometrics.ca&gt;
Cc: Ricardo Martins &lt;rasm@fe.up.pt&gt;
Acked-by: Rodolfo Giometti &lt;giometti@linux.it&gt;
Signed-off-by: Ricardo Martins &lt;rasm@fe.up.pt&gt;
Cc: Alexander Gordeev &lt;lasaine@lvk.cs.msu.su&gt;
Cc: Igor Plyatov &lt;plyatov@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>pps: default echo function</title>
<updated>2011-11-02T23:07:02Z</updated>
<author>
<name>James Nuss</name>
<email>jamesnuss@nanometrics.ca</email>
</author>
<published>2011-11-02T20:39:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=437c53418616973071fd2d7c87497780944d8fdb'/>
<id>urn:sha1:437c53418616973071fd2d7c87497780944d8fdb</id>
<content type='text'>
A default echo function has been provided so it is no longer an error when
you specify PPS_ECHOASSERT or PPS_ECHOCLEAR without an explicit echo
function.  This allows some code re-use and also makes it easier to write
client drivers since the default echo function does not normally need to
change.

Signed-off-by: James Nuss &lt;jamesnuss@nanometrics.ca&gt;
Reviewed-by: Ben Gardiner &lt;bengardiner@nanometrics.ca&gt;
Acked-by: Rodolfo Giometti &lt;giometti@linux.it&gt;
Cc: Ricardo Martins &lt;rasm@fe.up.pt&gt;
Cc: Alexander Gordeev &lt;lasaine@lvk.cs.msu.su&gt;
Cc: Igor Plyatov &lt;plyatov@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Fix common misspellings</title>
<updated>2011-03-31T14:26:23Z</updated>
<author>
<name>Lucas De Marchi</name>
<email>lucas.demarchi@profusion.mobi</email>
</author>
<published>2011-03-31T01:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=25985edcedea6396277003854657b5f3cb31a628'/>
<id>urn:sha1:25985edcedea6396277003854657b5f3cb31a628</id>
<content type='text'>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>pps: remove unreachable code</title>
<updated>2011-03-23T00:44:17Z</updated>
<author>
<name>Alexander Gordeev</name>
<email>lasaine@lvk.cs.msu.su</email>
</author>
<published>2011-03-22T23:35:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=77d1c8eb8a8e0989f4c46e9a40bbd4185d34974e'/>
<id>urn:sha1:77d1c8eb8a8e0989f4c46e9a40bbd4185d34974e</id>
<content type='text'>
Remove code enabled only when CONFIG_PREEMPT_RT is turned on because it is
not used in the vanilla kernel.

Signed-off-by: Alexander Gordeev &lt;lasaine@lvk.cs.msu.su&gt;
Cc: john stultz &lt;johnstul@us.ibm.com&gt;
Cc: Rodolfo Giometti &lt;giometti@linux.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>pps: change to new flag variable</title>
<updated>2011-03-17T13:05:35Z</updated>
<author>
<name>matt mooney</name>
<email>mfm@muteddisk.com</email>
</author>
<published>2011-01-14T14:12:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=26a082dc5334ee003167bb9feeee681c150e5b11'/>
<id>urn:sha1:26a082dc5334ee003167bb9feeee681c150e5b11</id>
<content type='text'>
Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: matt mooney &lt;mfm@muteddisk.com&gt;
Acked-by: WANG Cong &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>pps: make pps_gen_parport depend on BROKEN</title>
<updated>2011-03-05T01:53:38Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2011-03-05T01:36:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=95b90afec301f050f72740e8696f7cce8a37db5a'/>
<id>urn:sha1:95b90afec301f050f72740e8696f7cce8a37db5a</id>
<content type='text'>
This driver causes hard lockups, when the active clock soure is jiffies.

The reason is that it loops with interrupts disabled waiting for a
timestamp to be reached by polling getnstimeofday().  Though with a
jiffies clocksource, when that code runs on the same CPU which is
responsible for updating jiffies, then we loop in circles for ever
simply because the timer interrupt cannot update jiffies.  So both UP
and SMP can be affected.

There is no easy fix for that problem so make it depend on BROKEN for
now.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Alexander Gordeev &lt;lasaine@lvk.cs.msu.su&gt;
Cc: Rodolfo Giometti &lt;giometti@linux.it&gt;
Cc: john stultz &lt;johnstul@us.ibm.com&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>pps: initialize ts_real properly</title>
<updated>2011-02-25T23:07:37Z</updated>
<author>
<name>Alexander Gordeev</name>
<email>lasaine@lvk.cs.msu.su</email>
</author>
<published>2011-02-25T22:44:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=99b0d365e5ade293c5fa25a9f1a49ac764656670'/>
<id>urn:sha1:99b0d365e5ade293c5fa25a9f1a49ac764656670</id>
<content type='text'>
Initialize ts_real.flags to fix compiler warning about possible
uninitialized use of this field.

Signed-off-by: Alexander Gordeev &lt;lasaine@lvk.cs.msu.su&gt;
Cc: john stultz &lt;johnstul@us.ibm.com&gt;
Cc: Rodolfo Giometti &lt;giometti@linux.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
