Patrick Delaunay
212875e707
mmc: fix error message for unaligned erase request
...
Fix the end address in the message for unaligned erase request in
mmc_berase() when start + blkcnt is aligned to erase_grp_size.
for example:
- start = 0x2000 - 26
- count = 26
- erase_grp_size = 0x400
Caution! Your devices Erase group is 0x400
The erase range would be change to 0x2000~0x27ff
But no issue when the end address is not aligned, for example
- start = 0x2000 - 2 * 26
- count = 26
- erase_grp_size = 0x400
Caution! Your devices Erase group is 0x400
The erase range would be change to 0x2000~0x23ff
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com >
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com >
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com >
2022-06-15 15:34:18 +09:00
..
2021-07-27 10:56:09 +05:30
2021-10-29 18:22:32 +09:00
2021-10-29 18:22:32 +09:00
2020-12-13 16:51:09 -07:00
2021-02-02 15:33:42 -05:00
2020-12-13 16:51:09 -07:00
2020-12-13 16:51:09 -07:00
2020-12-13 16:51:09 -07:00
2021-02-02 15:33:42 -05:00
2020-12-13 16:51:09 -07:00
2022-01-12 09:56:40 +09:00
2021-02-02 15:33:42 -05:00
2021-07-06 14:07:36 -04:00
2022-04-12 21:08:23 +02:00
2022-05-23 09:33:10 -04:00
2022-04-26 17:18:39 +05:30
2021-09-25 09:46:15 -06:00
2018-05-07 09:34:12 -04:00
2020-12-13 16:51:09 -07:00
2021-02-02 15:33:42 -05:00
2021-03-02 13:53:37 +01:00
2021-02-02 15:33:42 -05:00
2022-05-24 01:14:51 +01:00
2020-05-18 21:19:23 -04:00
2022-04-25 10:00:04 -04:00
2021-02-19 15:10:46 +08:00
2020-12-13 16:51:09 -07:00
2020-05-18 21:19:18 -04:00
2022-04-25 10:00:04 -04:00
2020-07-27 14:16:28 +05:30
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2022-06-15 15:34:18 +09:00
2021-02-19 15:10:41 +08:00
2022-04-25 10:00:04 -04:00
2022-04-26 17:18:39 +05:30
2021-02-02 15:33:42 -05:00
2021-11-17 17:04:59 -05:00
2021-10-01 12:10:09 -04:00
2021-04-08 08:50:52 +02:00
2020-07-17 09:30:13 -04:00
2021-09-25 09:46:15 -06:00
2021-01-15 17:48:36 +08:00
2022-05-03 18:33:29 -04:00
2020-08-25 08:01:16 +02:00
2022-03-07 11:36:12 -05:00
2022-01-18 12:48:17 -05:00
2022-05-03 18:33:29 -04:00
2021-02-02 15:33:42 -05:00
2021-07-06 13:50:56 +08:00
2020-12-13 16:51:09 -07:00
2021-02-02 15:33:42 -05:00
2022-04-18 11:25:13 +08:00
2022-04-18 11:25:12 +08:00
2021-07-30 17:12:15 +08:00
2021-02-02 15:33:42 -05:00
2021-11-28 16:51:51 -07:00
2022-01-19 18:11:34 +01:00
2021-02-02 15:33:42 -05:00
2022-03-16 18:10:19 +09:00
2021-02-02 15:33:42 -05:00
2018-05-07 09:34:12 -04:00
2021-02-02 15:33:42 -05:00
2020-12-13 16:51:09 -07:00
2021-06-22 12:02:32 +08:00
2021-02-02 15:33:42 -05:00
2021-11-30 16:43:28 +01:00
2022-01-30 01:25:00 +00:00
2020-12-13 16:51:09 -07:00
2020-12-13 16:51:09 -07:00
2021-02-02 15:33:42 -05:00
2021-01-31 14:08:45 +01:00
2020-12-13 16:51:08 -07:00
2022-03-16 16:47:37 +09:00
2022-05-13 09:10:02 +02:00