diff options
author | Ricardo Ribalda <ricardo.ribalda@gmail.com> | 2017-01-18 16:40:16 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-09-25 07:25:32 (GMT) |
commit | 307feb41f08ba920676e57dac7e62bcc7eba64f9 (patch) | |
tree | 1f4243023a95cdfa6c5df75ffac835bc41ad62c7 /lib/is_single_threaded.c | |
parent | 861968e416e2c5b7893d885786f270751f04ac0e (diff) | |
download | linux-307feb41f08ba920676e57dac7e62bcc7eba64f9.tar.xz |
mtd: spi-nor: Fix S3AN addressing calculation
The page calculation under spi_nor_s3an_addr_convert() was wrong. On
Default Address Mode we need to perform a divide by page_size.
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Diffstat (limited to 'lib/is_single_threaded.c')
0 files changed, 0 insertions, 0 deletions