]> err.no Git - linux-2.6/commit
Input: iforce - use ENOSPC instead of ENOMEM
authorAnssi Hannula <anssi.hannula@gmail.com>
Mon, 5 Jun 2006 04:18:21 +0000 (00:18 -0400)
committerDmitry Torokhov <dtor_core@ameritech.net>
Mon, 5 Jun 2006 04:18:21 +0000 (00:18 -0400)
commitfe65b97a5885a84baa103d7213754ff29e8f872f
treea393e8d550c4675b6f6c30bdd41285d2c735b837
parent0f5e560e4523e15f33922de5becd024ccaaff76c
Input: iforce - use ENOSPC instead of ENOMEM

Use -ENOSPC instead of -ENOMEM when the iforce device doesn't have
enough free memory for the new effect.  All other drivers are using
-ENOSPC, so this makes the behaviour coherent.

Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/joystick/iforce/iforce-ff.c