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

Masahiro Yamada yamada.masahiro at socionext.com
Tue Mar 7 05:03:03 PST 2017


Hi Boris,


2017-03-07 20:40 GMT+09:00 Boris Brezillon <boris.brezillon at free-electrons.com>:
> On Tue,  7 Mar 2017 20:23:59 +0900
> Masahiro Yamada <yamada.masahiro at socionext.com> 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



More information about the linux-mtd mailing list