diff options
author | Peter Meerwald <p.meerwald@bct-electronic.com> | 2012-07-19 07:21:04 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-09-29 09:54:20 -0400 |
commit | 4cacbe226f39061f3e6730a08e3323e04a0de03f (patch) | |
tree | 458dada8e9fed04970e8200b09a093445051c422 /drivers | |
parent | bf7a01bf7987b63b121d572b240c132ec44129c4 (diff) |
mtd: omap2: fix some typos in comments
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/nand/omap2.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index ac4fd756eda3..1ede9fb43430 100644 --- a/drivers/mtd/nand/omap2.c +++ b/drivers/mtd/nand/omap2.c | |||
@@ -347,7 +347,7 @@ static void omap_nand_dma_callback(void *data) | |||
347 | } | 347 | } |
348 | 348 | ||
349 | /* | 349 | /* |
350 | * omap_nand_dma_transfer: configer and start dma transfer | 350 | * omap_nand_dma_transfer: configure and start dma transfer |
351 | * @mtd: MTD device structure | 351 | * @mtd: MTD device structure |
352 | * @addr: virtual address in RAM of source/destination | 352 | * @addr: virtual address in RAM of source/destination |
353 | * @len: number of data bytes to be transferred | 353 | * @len: number of data bytes to be transferred |
@@ -463,7 +463,7 @@ static void omap_write_buf_dma_pref(struct mtd_info *mtd, | |||
463 | } | 463 | } |
464 | 464 | ||
465 | /* | 465 | /* |
466 | * omap_nand_irq - GMPC irq handler | 466 | * omap_nand_irq - GPMC irq handler |
467 | * @this_irq: gpmc irq number | 467 | * @this_irq: gpmc irq number |
468 | * @dev: omap_nand_info structure pointer is passed here | 468 | * @dev: omap_nand_info structure pointer is passed here |
469 | */ | 469 | */ |
@@ -1205,8 +1205,8 @@ static int __devinit omap_nand_probe(struct platform_device *pdev) | |||
1205 | 1205 | ||
1206 | /* | 1206 | /* |
1207 | * If RDY/BSY line is connected to OMAP then use the omap ready | 1207 | * If RDY/BSY line is connected to OMAP then use the omap ready |
1208 | * funcrtion and the generic nand_wait function which reads the status | 1208 | * function and the generic nand_wait function which reads the status |
1209 | * register after monitoring the RDY/BSY line.Otherwise use a standard | 1209 | * register after monitoring the RDY/BSY line. Otherwise use a standard |
1210 | * chip delay which is slightly more than tR (AC Timing) of the NAND | 1210 | * chip delay which is slightly more than tR (AC Timing) of the NAND |
1211 | * device and read status register until you get a failure or success | 1211 | * device and read status register until you get a failure or success |
1212 | */ | 1212 | */ |
@@ -1287,7 +1287,7 @@ static int __devinit omap_nand_probe(struct platform_device *pdev) | |||
1287 | 1287 | ||
1288 | info->nand.verify_buf = omap_verify_buf; | 1288 | info->nand.verify_buf = omap_verify_buf; |
1289 | 1289 | ||
1290 | /* selsect the ecc type */ | 1290 | /* select the ecc type */ |
1291 | if (pdata->ecc_opt == OMAP_ECC_HAMMING_CODE_DEFAULT) | 1291 | if (pdata->ecc_opt == OMAP_ECC_HAMMING_CODE_DEFAULT) |
1292 | info->nand.ecc.mode = NAND_ECC_SOFT; | 1292 | info->nand.ecc.mode = NAND_ECC_SOFT; |
1293 | else if ((pdata->ecc_opt == OMAP_ECC_HAMMING_CODE_HW) || | 1293 | else if ((pdata->ecc_opt == OMAP_ECC_HAMMING_CODE_HW) || |