Shmulik Ladkani 1951f2f710 mtd: nand: check the return code of 'read_oob/read_oob_raw'
Apparently, there is an implementor of 'read_oob' which may return an
error inidication (e.g. docg4_read_oob may return -EIO).

Test the return value of 'read_oob/read_oob_raw', and if negative,
propagate the error, so it's returned by the '_read_oob' interface.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-05-13 23:25:00 -05:00
..
2012-03-27 00:53:20 +01:00
2012-05-13 23:22:29 -05:00
2012-03-30 17:31:56 -07:00
2009-10-20 10:07:23 +09:00
2012-03-27 00:56:46 +01:00
2012-03-27 00:53:20 +01:00
2012-03-27 00:56:46 +01:00
2012-03-27 00:56:46 +01:00