]> git.baikalelectronics.ru Git - kernel.git/commit
memory: omap-gpmc: Prevent GPMC_STATUS from being accessed via gpmc_regs
authorRoger Quadros <rogerq@ti.com>
Fri, 7 Aug 2015 07:38:13 +0000 (10:38 +0300)
committerRoger Quadros <rogerq@ti.com>
Fri, 15 Apr 2016 08:55:28 +0000 (11:55 +0300)
commitc85810c5599a608da9e2462c232404f5266e0e58
tree0c5e57d8bc130f40ad75763d4acec4c1ddc41ba5
parentcf2801c920c4eaf53b3cbfc39ce8b62920eeba57
memory: omap-gpmc: Prevent GPMC_STATUS from being accessed via gpmc_regs

GPMC_STATUS register is private to the GPMC module and must not be
accessed directly by NAND driver through the gpmc_regs.

They must use gpmc_omap_get_nand_ops() instead.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
drivers/memory/omap-gpmc.c
include/linux/platform_data/mtd-nand-omap2.h