[PATCH] mtd: nand: Fix unfinished comment in nand_init_data_interface()

Boris Brezillon boris.brezillon at free-electrons.com
Sat Jan 6 12:40:34 PST 2018


On Fri, 22 Dec 2017 18:12:41 +0100
Miquel Raynal <miquel.raynal at free-electrons.com> wrote:

> Give an unfinished comment a meaning.

Applied.

Thanks,

Boris

> 
> Signed-off-by: Miquel Raynal <miquel.raynal at free-electrons.com>
> ---
>  drivers/mtd/nand/nand_base.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> 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);




More information about the linux-mtd mailing list