Commit 8d69a80f authored by Miquel Raynal's avatar Miquel Raynal
Browse files

mtd: rawnand: Fix nand_setup_data_interface() description



This is a copy/paste error and belongs to nand_init_data_interface()
description.

Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200529111322.7184-11-miquel.raynal@bootlin.com
parent adcf98b2
Loading
Loading
Loading
Loading
+2 −5
Original line number Original line Diff line number Diff line
@@ -941,11 +941,8 @@ static int nand_reset_data_interface(struct nand_chip *chip, int chipnr)
 * @chip: The NAND chip
 * @chip: The NAND chip
 * @chipnr: Internal die id
 * @chipnr: Internal die id
 *
 *
 * Find and configure the best data interface and NAND timings supported by
 * Configure what has been reported to be the best data interface and NAND
 * the chip and the driver.
 * timings supported by the chip and the driver.
 * First tries to retrieve supported timing modes from ONFI information,
 * and if the NAND chip does not support ONFI, relies on the
 * ->onfi_timing_mode_default specified in the nand_ids table.
 *
 *
 * Returns 0 for success or negative error code otherwise.
 * Returns 0 for success or negative error code otherwise.
 */
 */