[PATCH v2] mtd: gpmi: Deal with bitflips in erased regions regions
Huang Shijie
b32955 at freescale.com
Mon Dec 16 21:37:32 EST 2013
On Mon, Dec 16, 2013 at 02:14:03PM +0100, Elie De Brauwer wrote:
>
> int gpmi_allones(struct gpmi_nand_data *this)
> {
> struct resources *r = &this->resources;
> uint32_t reg = readl(r->gpmi_regs + HW_BCH_STATUS0);
I suddenly realise that you read a wrong register. :)
It should be r->bch_regs, not r->gpmi_regs.
thanks
Huang Shijie
More information about the linux-mtd
mailing list