Ezequiel Garcia 55d9fd6e94 mtd: nand: pxa3xx: Use a completion to signal device ready
The expected behavior of the waitfunc() NAND chip call is to wait
for the device to be READY (this is a standard chip line).
However, the current implementation does almost nothing, which opens
the possibility of issuing a command to a non-ready device.

Fix this by adding a new completion to wait for the ready event to arrive.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Tested-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2014-01-03 11:22:11 -08:00
..
2014-01-03 11:22:08 -08:00
2013-11-14 12:31:43 +09:00
2012-01-09 18:25:19 +00:00
2012-01-09 18:26:21 +00:00
2013-04-05 13:16:54 +01:00
2014-01-03 11:22:09 -08:00
2014-01-03 11:22:09 -08:00
2012-03-27 00:24:14 +01:00
2012-01-09 18:26:21 +00:00
2013-08-30 21:51:25 +01:00