]> err.no Git - linux-2.6/commit
[MTD] OneNAND: Return an error if a read timeout occurs
authorAdrian Hunter <hunter.programmer@gmail.com>
Wed, 10 Jan 2007 05:51:26 +0000 (07:51 +0200)
committerKyungmin Park <kyungmin.park@samsung.com>
Thu, 18 Jan 2007 01:59:44 +0000 (10:59 +0900)
commit9d03280129e84f8cdfd83f84803a4548e3bf697d
tree2cce5d630864168ffd2427062094479d3bcf3ec5
parent10b7a2bd6bf3510cbb5977a44d8822f085738729
[MTD] OneNAND: Return an error if a read timeout occurs

If OneNAND is operating within specification, all operations should easily be
completed within the 20 millisecond timeout.
This patch faithlessly adds a check for the timeout and returns an error in
that case.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/mtd/onenand/onenand_base.c