Android alarm: IOCTL command encoding fix

commit 6bd4a5d upstream.

Fixed a bug. Data was being written to user space using an IOCTL
command encoded with _IOC_WRITE access mode.

Backported: 3.4 -> 3.0

Change-Id: I228662c2da6ff3df087d2c97486f3ef1fd9a2280
Signed-off-by: Dae S. Kim <dae@velatum.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrii Beregovenko <a.beregovenko@ti.com>

commit 8d60d6aaf085d1728a4fda1f59b47622fe2ab495 1 parent 290cdf9401
daeskp authored 4 months ago Andrii Beregovenko committed 2 months ago