We plan to move cache related fields to a pagecache struct in nand_chip but some drivers access ->pagebuf directly to invalidate the cache before they start using ->data_buf. Let's provide an helper that returns a pointer to ->data_buf after invalidating the cache. Signed-off-by: Boris Brezillon <bbrezillon@kernel.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de> |
||
|---|---|---|
| .. | ||
| bcm6368_nand.c | ||
| bcm63138_nand.c | ||
| brcmnand.c | ||
| brcmnand.h | ||
| brcmstb_nand.c | ||
| iproc_nand.c | ||
| Makefile | ||