Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ea1e4ba authored by Afzal Mohammed's avatar Afzal Mohammed
Browse files

mtd: nand: omap: read nand using register address



Now that gpmc-nand registers are available in driver, use it
to read nand data.

"65b97cf6  mtd: nand: omap2: handle nand on gpmc" modified all
other instances. After initial versions of that patch, a new
change added reading nand data using gpmc exposed function.
In the final version this change was not taken care.

Signed-off-by: default avatarAfzal Mohammed <afzal@ti.com>
parent 48b51d4d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -996,7 +996,7 @@ static int omap_wait(struct mtd_info *mtd, struct nand_chip *chip)
		cond_resched();
	}

	status = gpmc_nand_read(info->gpmc_cs, GPMC_NAND_DATA);
	status = readb(info->reg.gpmc_nand_data);
	return status;
}