Huang, Tao
7c1abbfe2a
mmc: block: ioctl return EINVAL if cmd unknown
...
We should return -EINVAL if cmd is not MMC_IOC_CMD or MMC_IOC_MULTI_CMD,
otherwise blkdev_roset will return -EPERM.
Android adb, make_block_device_writable ioctl BLKROSET will return error,
make adb remount with error:
remount of /system failed;
couldn't make block device writable: Operation not permitted
Change-Id: I7d0a5727110c0fd9ad301a377e5002eae23f8aed
Fixes: a5f5774c55 ("mmc: block: Add new ioctl to send multi commands")
Signed-off-by: Huang, Tao <huangtao@rock-chips.com >
2016-03-04 18:21:42 +08:00
..
2016-01-08 01:01:41 +01:00
2015-11-11 15:57:28 +08:00
2016-02-16 13:54:24 -08:00
2016-02-17 12:31:03 -08:00
2015-11-11 15:57:28 +08:00
2015-11-11 15:57:28 +08:00
2016-02-18 16:03:29 +08:00
2016-02-17 12:31:06 -08:00
2015-11-18 14:36:06 +08:00
2015-12-22 11:42:30 -08:00
2015-11-11 15:57:28 +08:00
2016-02-16 13:54:00 -08:00
2016-03-04 17:45:53 +08:00
2015-12-10 19:37:18 +01:00
2016-01-04 21:46:45 -05:00
2016-02-18 15:18:27 +08:00
2016-02-16 13:52:31 -08:00
2016-02-17 12:31:05 -08:00
2015-11-11 19:52:00 +08:00
2016-01-07 11:09:36 +05:30
2016-02-16 13:53:25 -08:00
2015-11-11 15:57:28 +08:00
2015-11-11 15:57:28 +08:00
2015-11-11 15:57:28 +08:00
2015-11-11 10:21:34 -08:00
2016-01-08 09:00:54 +01:00
2015-11-24 15:25:46 -08:00
2015-12-21 14:26:23 +08:00
2016-01-18 19:04:28 +08:00
2016-02-18 16:03:29 +08:00
2015-10-30 16:10:40 +01:00
2015-11-11 15:57:28 +08:00
2015-12-21 14:26:23 +08:00
2016-02-25 12:01:23 -08:00
2015-11-13 20:04:17 -08:00
2016-02-03 11:12:55 +08:00
2015-11-06 17:50:42 -08:00
2015-11-11 15:57:28 +08:00
2016-03-03 19:46:53 +08:00
2016-01-31 11:29:01 -08:00
2016-03-03 19:46:53 +08:00
2016-03-03 19:46:53 +08:00
2015-12-01 22:50:16 +01:00
2015-12-15 13:24:21 -05:00
2015-11-11 19:52:00 +08:00
2015-11-11 15:57:28 +08:00
2015-12-29 08:28:32 -07:00
2015-11-11 15:57:28 +08:00
2015-11-11 19:52:00 +08:00
2015-10-29 09:02:16 +09:00
2016-02-17 12:30:57 -08:00
2016-02-18 16:03:29 +08:00
2015-12-16 00:16:58 +01:00
2015-11-11 15:57:28 +08:00
2015-11-12 07:06:18 -05:00
2016-02-29 20:49:13 +08:00
2016-02-18 15:18:27 +08:00
2016-03-04 18:21:42 +08:00
2016-02-18 16:03:29 +08:00
2016-03-03 19:42:14 +08:00
2015-11-18 14:36:06 +08:00
2015-11-11 15:57:28 +08:00
2016-02-25 12:01:21 -08:00
2015-12-22 10:12:04 -07:00
2016-02-16 13:54:09 -08:00
2015-12-12 16:07:25 +01:00
2015-11-11 15:57:28 +08:00
2016-02-17 12:30:56 -08:00
2015-11-11 15:57:28 +08:00
2015-11-04 14:47:13 -08:00
2016-03-03 19:46:53 +08:00
2016-03-02 09:23:45 +08:00
2016-03-03 19:46:53 +08:00
2015-11-11 15:57:28 +08:00
2016-03-04 14:25:43 +08:00
2015-12-12 02:31:11 +01:00
2015-11-11 09:16:10 -08:00
2015-11-11 15:57:28 +08:00
2016-03-02 13:51:40 +08:00
2015-11-26 17:44:28 +02:00
2015-11-11 19:52:00 +08:00
2016-01-19 11:44:50 +08:00
2016-02-29 20:49:13 +08:00
2015-12-22 15:43:18 -08:00
2015-11-11 15:57:28 +08:00
2016-02-25 12:01:17 -08:00
2015-11-17 02:12:46 +09:00
2016-02-25 09:50:38 +08:00
2015-12-21 14:26:23 +08:00
2015-11-04 22:15:15 -08:00
2015-10-28 21:05:21 +02:00
2016-03-03 19:46:53 +08:00
2016-02-16 13:51:00 -08:00
2016-02-25 12:01:16 -08:00
2016-03-01 14:22:29 +08:00
2016-03-03 19:46:53 +08:00
2015-11-11 15:57:28 +08:00
2016-03-03 19:46:53 +08:00
2015-11-04 21:50:37 -08:00
2015-12-04 08:38:42 -07:00
2015-12-07 17:28:10 +02:00
2016-03-03 19:42:14 +08:00
2015-12-07 17:28:11 +02:00
2015-11-11 15:57:28 +08:00
2016-02-16 13:54:18 -08:00
2015-12-01 09:14:17 +08:00
2015-12-18 12:24:52 -08:00
2016-02-18 15:18:27 +08:00
2016-02-18 15:18:27 +08:00