summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/sm_common.c
diff options
context:
space:
mode:
authorShen Lichuan <shenlichuan@vivo.com>2024-09-23 14:56:49 +0800
committerMiquel Raynal <miquel.raynal@bootlin.com>2024-10-21 11:24:26 +0200
commit8ab1b51fa45e29edcbd887208f046a2af0e92a08 (patch)
treeab4cfbc3f94dd341e5a82da182389ed04b1327ec /drivers/mtd/nand/raw/sm_common.c
parent9852d85ec9d492ebef56dc5f229416c925758edc (diff)
mtd: rawnand: Correct multiple typos in comments
Fixed some confusing spelling errors, the details are as follows: -in the code comments: remaing -> remaining alingment -> alignment capabilitiies -> capabilities operatoin -> operation decriptors -> descriptors stareted -> started Unfortunelly -> Unfortunately compatabable -> compatible depenent -> dependent Signed-off-by: Shen Lichuan <shenlichuan@vivo.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20240923065649.11966-1-shenlichuan@vivo.com
Diffstat (limited to 'drivers/mtd/nand/raw/sm_common.c')
-rw-r--r--drivers/mtd/nand/raw/sm_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/raw/sm_common.c b/drivers/mtd/nand/raw/sm_common.c
index 24f52a30fb13..e238784c8c3e 100644
--- a/drivers/mtd/nand/raw/sm_common.c
+++ b/drivers/mtd/nand/raw/sm_common.c
@@ -52,8 +52,8 @@ static const struct mtd_ooblayout_ops oob_sm_ops = {
.free = oob_sm_ooblayout_free,
};
-/* NOTE: This layout is not compatabable with SmartMedia, */
-/* because the 256 byte devices have page depenent oob layout */
+/* NOTE: This layout is not compatible with SmartMedia, */
+/* because the 256 byte devices have page dependent oob layout */
/* However it does preserve the bad block markers */
/* If you use smftl, it will bypass this and work correctly */
/* If you not, then you break SmartMedia compliance anyway */