NAND ECC: Fix NAND controller timeouts

Return -EIO in case of a timeout while waiting for the NAND controller
to become ready. Previously, the code would just keep on going which
might result in hard to debug issues further down the road.

Change-Id: Idcfa6de70881191e8a756c4e628dd8c0e05c9370
1 file changed