Commit bee038e9 authored by Ben Gardiner's avatar Ben Gardiner Committed by Scott Wood

nand_base: trivial: fix comment read/write comment

Replace an incorrect 'read' with 'write' in a comment.
Signed-off-by: default avatarBen Gardiner <>
Acked-by: default avatarDetlev Zundel <>
Signed-off-by: default avatarScott Wood <>
parent 2c4ed7d2
......@@ -1950,7 +1950,7 @@ static int nand_write(struct mtd_info *mtd, loff_t to, size_t len,
struct nand_chip *chip = mtd->priv;
int ret;
/* Do not allow reads past end of device */
/* Do not allow writes past end of device */
if ((to + len) > mtd->size)
return -EINVAL;
if (!len)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment