Re: [PATCH v2] mtd: nand: Fix writing mtdoops to nand flash.

2017-11-02 Thread Boris Brezillon
On Mon, 30 Oct 2017 22:32:45 -0500 moto...@gmail.com wrote: > From: Brent Taylor > > When mtdoops calls mtd_panic_write, it eventually calls > panic_nand_write in nand_base.c. In order to properly > wait for the nand chip to be ready in panic_nand_wait, > the chip must first

Re: [PATCH v2] mtd: nand: Fix writing mtdoops to nand flash.

2017-11-02 Thread Boris Brezillon
On Mon, 30 Oct 2017 22:32:45 -0500 moto...@gmail.com wrote: > From: Brent Taylor > > When mtdoops calls mtd_panic_write, it eventually calls > panic_nand_write in nand_base.c. In order to properly > wait for the nand chip to be ready in panic_nand_wait, > the chip must first be selected. > >

Re: [PATCH v2] mtd: nand: Fix writing mtdoops to nand flash.

2017-10-31 Thread Boris Brezillon
On Mon, 30 Oct 2017 22:32:45 -0500 moto...@gmail.com wrote: > From: Brent Taylor > > When mtdoops calls mtd_panic_write, it eventually calls > panic_nand_write in nand_base.c. In order to properly > wait for the nand chip to be ready in panic_nand_wait, > the chip must first

Re: [PATCH v2] mtd: nand: Fix writing mtdoops to nand flash.

2017-10-31 Thread Boris Brezillon
On Mon, 30 Oct 2017 22:32:45 -0500 moto...@gmail.com wrote: > From: Brent Taylor > > When mtdoops calls mtd_panic_write, it eventually calls > panic_nand_write in nand_base.c. In order to properly > wait for the nand chip to be ready in panic_nand_wait, > the chip must first be selected. > >

[PATCH v2] mtd: nand: Fix writing mtdoops to nand flash.

2017-10-30 Thread motobud
From: Brent Taylor When mtdoops calls mtd_panic_write, it eventually calls panic_nand_write in nand_base.c. In order to properly wait for the nand chip to be ready in panic_nand_wait, the chip must first be selected. When using the atmel nand flash controller, a panic would

[PATCH v2] mtd: nand: Fix writing mtdoops to nand flash.

2017-10-30 Thread motobud
From: Brent Taylor When mtdoops calls mtd_panic_write, it eventually calls panic_nand_write in nand_base.c. In order to properly wait for the nand chip to be ready in panic_nand_wait, the chip must first be selected. When using the atmel nand flash controller, a panic would occur due to a NULL