]> git.baikalelectronics.ru Git - kernel.git/commit
Reinstate lost flush_ioremap_region() fix to pxa2xx-flash driver
authorLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 15 Oct 2007 19:55:20 +0000 (12:55 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 15 Oct 2007 19:55:20 +0000 (12:55 -0700)
commit9df911981bcd5e0e26486750278520328ca7d0b5
tree3953714a17f990e4942eae802ad7831564bd4d3f
parent21d9f599d6243be4ecf16624e762fb9ad634d9f7
Reinstate lost flush_ioremap_region() fix to pxa2xx-flash driver

Commit 58054e96207f16e0812685d6c265568d9e80f2b9 ("[ARM] 4554/1: replace
consistent_sync() with flush_ioremap_region()") introduced a new
"flush_ioremap_region()" function to be used by the MTD mainstone-flash
and lubbock-flash drivers to fix a regression from around 2.6.18.

Those drivers were independently merged into a single driver by Todd
Poynor in commit 1c573b89da0549b2ef965ed09a9aab2e9d3a1fb6 ("[MTD] MAPS:
Merge Lubbock and Mainstone drivers into common PXA2xx driver")

Later, those two commits were merged into the main MTD tree by commit
fb4fad07092089f221c61235c7c022fd42470bfd ("Merge Linux 2.6.23") by David
Woodhouse, but in that merge, the fix to use flush_iomap_region() got
lost (as it was to files that now no longer existed).

This reinstates the fix in the new driver.

Noticed-by: Russell King <rmk@arm.linux.org.uk>
Tested-and-acked-by: Nicolas Pitre <nico@cam.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Jared Hulbert <jaredeh@gmail.com>
Cc: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mtd/maps/pxa2xx-flash.c