diff options
author | Miquel Raynal <miquel.raynal@free-electrons.com> | 2017-12-22 18:12:41 +0100 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2018-01-06 10:09:48 +0100 |
commit | d787b8b3509a78b1bf922cc3a1061711074847a8 (patch) | |
tree | b5364ab2334a7fd6b3f46cea70c88bf53df96ca8 /drivers/mtd | |
parent | 24f648c2ba5d4492ce6c923c9cf3fdb3c6d821bd (diff) | |
download | linux-d787b8b3509a78b1bf922cc3a1061711074847a8.tar.gz linux-d787b8b3509a78b1bf922cc3a1061711074847a8.tar.bz2 linux-d787b8b3509a78b1bf922cc3a1061711074847a8.zip |
mtd: nand: Fix unfinished comment in nand_init_data_interface()
Give an unfinished comment a meaning.
Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/nand_base.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index ab8ad9e8a8d8..96c97588e1ba 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c @@ -1284,7 +1284,10 @@ static int nand_init_data_interface(struct nand_chip *chip) if (ret) continue; - /* Pass -1 to only */ + /* + * Pass NAND_DATA_IFACE_CHECK_ONLY to only check if the + * controller supports the requested timings. + */ ret = chip->setup_data_interface(mtd, NAND_DATA_IFACE_CHECK_ONLY, &chip->data_interface); |