Re: [PATCH] mtd: rawnand: hynix: fixed typo

From: Miquel Raynal
Date: Fri Mar 15 2024 - 08:14:28 EST


Hi Maxim,

korotkov.maxim.s@xxxxxxxxx wrote on Fri, 15 Mar 2024 14:45:47 +0300:

> Hi,
>
> On 15.03.2024 14:23, Miquel Raynal wrote:
> > Isn't it done like that on purpose? Read-retry is not a mandatory
> > feature.
>
> Works it as designed? I'm not sure about it.
> I wouldn't rule it out, but it's a little weird that the hynix_nand_rr_init() function
> is used as if it can return an error but never returns.
>
> Probably checking of value returned from hynix_nand_rr_init()
> should be removed in hynix_nand_init()

It is indeed confusing. I'll take it.

Thanks,
Miquèl