]> git.karo-electronics.de Git - karo-tx-linux.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>
Mon, 26 Nov 2012 19:37:44 +0000 (11:37 -0800)
commit87dd2c484ae11e2e0a34996d96bfbfaf20f57b45
tree8ea8ec1899d99986e9d6fcdcf2e4c5c31bb34745
parent07126218d445ea1fea9952c6f801e5d05117e223
Revert "Staging: Android alarm: IOCTL command encoding fix"

commit d38e0e3fed4f58bcddef4dc93a591dfe2f651cb0 upstream.

Commit 6bd4a5d96c08dc2380f8053b1bd4f879f55cd3c9 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: 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