commit | a80d8b02751060a178bb1f7a6b7a93645a7a308b | [log] [tgz] |
---|---|---|
author | John Sung <penmount.touch@gmail.com> | Tue Sep 09 10:06:51 2014 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Sep 10 10:27:42 2014 -0700 |
tree | 5e6f26aebe52f14def749d11844f2257e1afbcee | |
parent | 58e4aeee39917c75da8e5dca0f1c42be8dc29f9e [diff] |
Input: serport - add compat handling for SPIOCSTYPE ioctl When running a 32-bit inputattach utility in a 64-bit system, there will be error code "inputattach: can't set device type". This is caused by the serport device driver not supporting compat_ioctl, so that SPIOCSTYPE ioctl fails. Cc: stable@vger.kernel.org Signed-off-by: John Sung <penmount.touch@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>