From: Miquel Raynal Date: Fri, 22 Dec 2017 17:12:41 +0000 (+0100) Subject: mtd: nand: Fix unfinished comment in nand_init_data_interface() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d787b8b3509a78b1bf922cc3a1061711074847a8;p=openwrt%2Fstaging%2Fblogic.git mtd: nand: Fix unfinished comment in nand_init_data_interface() Give an unfinished comment a meaning. Signed-off-by: Miquel Raynal Signed-off-by: Boris Brezillon --- 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);