<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/input/ff-core.c, branch v2.6.27.59</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/input/ff-core.c?h=v2.6.27.59</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/input/ff-core.c?h=v2.6.27.59'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2008-07-03T01:40:08Z</updated>
<entry>
<title>drivers/input/ff-core.c needs &lt;linux/sched.h&gt;</title>
<updated>2008-07-03T01:40:08Z</updated>
<author>
<name>Geert Uytterhoeven</name>
<email>geert@linux-m68k.org</email>
</author>
<published>2008-07-01T11:55:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=83680cdbcecd1fd284ad4df060d12bf214bb63a8'/>
<id>urn:sha1:83680cdbcecd1fd284ad4df060d12bf214bb63a8</id>
<content type='text'>
Commit 656acd2bbc4ce7f224de499ee255698701396c48 ("Input: fix locking in
force-feedback core") causes the following regression on m68k:

| linux/drivers/input/ff-core.c: In function 'input_ff_upload':
| linux/drivers/input/ff-core.c:172: error: dereferencing pointer to incomplete type
| linux/drivers/input/ff-core.c: In function 'erase_effect':
| linux/drivers/input/ff-core.c:197: error: dereferencing pointer to incomplete type
| linux/drivers/input/ff-core.c:204: error: dereferencing pointer to incomplete type
| make[4]: *** [drivers/input/ff-core.o] Error 1

As the incomplete type is `struct task_struct', including &lt;linux/sched.h&gt; fixes
it.

Signed-off-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Acked-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Input: fix locking in force-feedback core</title>
<updated>2008-06-30T13:26:02Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2008-06-26T15:30:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=656acd2bbc4ce7f224de499ee255698701396c48'/>
<id>urn:sha1:656acd2bbc4ce7f224de499ee255698701396c48</id>
<content type='text'>
The newly added event_lock spinlock in the input core disallows sleeping
and therefore using mutexes in event handlers. Convert force-feedback
core to rely on event_lock instead of mutex to protect slots allocated
for fore-feedback effects. The original mutex is still used to serialize
uploading and erasing of effects.

Reported-by: Anssi Hannula &lt;anssi.hannula@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: force feedback - make sure effect is present before playing</title>
<updated>2007-05-03T04:51:10Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dtor@insightbb.com</email>
</author>
<published>2007-05-03T04:51:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=dec3eb01c2409ca8276c1152c167add66a37d1ba'/>
<id>urn:sha1:dec3eb01c2409ca8276c1152c167add66a37d1ba</id>
<content type='text'>
Make sure that requested effect id is not out of range for the
device and that effect is present before requesting device to
play it.

Reported-by: Jan Kratochvil &lt;honza@jikos.cz&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: add to kernel-api docbook</title>
<updated>2006-11-24T05:43:09Z</updated>
<author>
<name>Randy Dunlap</name>
<email>randy.dunlap@oracle.com</email>
</author>
<published>2006-11-24T05:43:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e4477d2d1bc3e6c76e83926f7fa8c8f94ba42615'/>
<id>urn:sha1:e4477d2d1bc3e6c76e83926f7fa8c8f94ba42615</id>
<content type='text'>
Add input subsystem to kernel-api docbook.
Enhance some function and parameter comments.

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: implement new force feedback interface</title>
<updated>2006-07-19T05:40:22Z</updated>
<author>
<name>Anssi Hannula</name>
<email>anssi.hannula@gmail.com</email>
</author>
<published>2006-07-19T05:40:22Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b'/>
<id>urn:sha1:509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b</id>
<content type='text'>
Implement a new force feedback interface, in which all non-driver-specific
operations are separated to a common module. This includes handling effect
type validations, locking, etc.

The effects are now file descriptor specific instead of the previous strange
half-process half-fd specific behaviour. The effect memory of devices is not
emptied if the root user opens and closes the device while another user is
using effects. This is a minor change and most likely no force feedback
aware programs are affected by this negatively.

Otherwise the userspace interface is left unaltered.

Signed-off-by: Anssi Hannula &lt;anssi.hannula@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
</feed>
