]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: onenand: omap2: Do not make delay for GPIO OMAP3 specific
authorLadislav Michl <ladis@linux-mips.org>
Fri, 12 Jan 2018 13:16:28 +0000 (14:16 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 12 Jan 2018 14:34:23 +0000 (15:34 +0100)
commit9d126806c6d09e9e3c37a6d998f994de0b1f2551
tree6dca41219c2b1a0c509ca8c38b16f3a5e770e346
parenta5734af90fe3ed9c5beb7ef1f0e8d9f4f2bbb33f
mtd: onenand: omap2: Do not make delay for GPIO OMAP3 specific

Second commit in driver history (266710fe7dda: "[MTD] [OneNAND] OMAP3:
add delay for GPIO") added quirk for waiting until GPIO line settle.
As DMA was disabled for OMAP2 boards, chances are this problem was
not OMAP3 specific and as it is just one register read, previous
test for SoC type is approximately as expensive as read itself.
Make delay unconditional, which allows removing SoC specific code
alltogether.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Acked-by: Roger Quadros <rogerq@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/onenand/omap2.c