]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "Staging: Android alarm: IOCTL command encoding fix"
authorColin Cross <ccross@android.com>
Thu, 8 Nov 2012 02:21:51 +0000 (18:21 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2012 21:04:43 +0000 (13:04 -0800)
commit1f7d39e87ca94ef93c2c81a1e5b36510026dee2f
treeb0833aef61a5101b95fce7fc0a8d61d93bec9fd5
parent28d7230bf57b8eec6f73731073910a864e140197
Revert "Staging: Android alarm: IOCTL command encoding fix"

Commit e5ac91fee779e10e7469cae92b0761e3a50c135a changed the
ANDROID_ALARM_GET_TIME ioctls from IOW to IOR.  While technically
correct, the _IOC_DIR bits are ignored by alarm_ioctl, so the
commit breaks a userspace ABI used by all existing Android devices
for a purely cosmetic reason.  Revert it.

Cc: stable <stable@vger.kernel.org>
Cc: Dae S. Kim <dae@velatum.com>
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/android_alarm.h