Re: [PATCH] mtd: nand: fix write accessor sanity checks

From: Masahiro Yamada
Date: Tue Mar 07 2017 - 08:09:45 EST


Hi Boris,


2017-03-07 20:40 GMT+09:00 Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx>:
> On Tue, 7 Mar 2017 20:23:59 +0900
> Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> wrote:
>
>> If the higher level accessor chip->write_page() is implemented,
>> ecc->write_page() and ecc->write_page_raw() are not required.
>
> I'm about to remove the chip->write_page() hook [1], I hope you're not
> planning to use it.
>
> [1]https://patchwork.ozlabs.org/patch/729966/
>

In fact, I was wondering if I should use chip->write_page()
for denali.c (then I noticed this broken accessor checks).
After all, I decided to not (ab)use chip->write_page(), though.

Anyway, it is good that I am sure about this now.

Thanks!

--
Best Regards
Masahiro Yamada