diff options
author | Shaohui Xie <Shaohui.Xie@freescale.com> | 2011-06-13 10:23:12 +0800 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-06-22 06:08:48 -0500 |
commit | c02a02ee4db5cd8b95ee3cc705b535f443612583 (patch) | |
tree | 7c4a3cec2b88b157bd0dfdd9a1147f553da4aaa7 /mm | |
parent | 56299378726d5f2ba8d3c8cbbd13cb280ba45e4f (diff) |
powerpc/85xx: fix NAND_CMD_READID read bytes number
when nand_get_flash_type() is called, it will read 8 bytes of ID instead of 5,
but the driver only read 5 bytes, so kernel will dump error messages like:
fsl-lbc ffe124000.localbus: read_byte beyond end of buffer
fsl-lbc ffe124000.localbus: read_byte beyond end of buffer
fsl-lbc ffe124000.localbus: read_byte beyond end of buffer
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions