summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorShmulik Ladkani <shmulik.ladkani@gmail.com>2012-05-09 12:13:34 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-05-14 06:25:00 +0200
commit1951f2f710a621ae0bc4268617046a6c02c634d0 (patch)
treee39850855d7a3062666592736c4e19c1bd4104f5 /arch/arm/mach-omap2
parentmtd: nand: remove 'sndcmd' parameter of 'read_oob/read_oob_raw' (diff)
downloadlinux-1951f2f710a621ae0bc4268617046a6c02c634d0.tar.xz
linux-1951f2f710a621ae0bc4268617046a6c02c634d0.zip
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>
Diffstat (limited to 'arch/arm/mach-omap2')
0 files changed, 0 insertions, 0 deletions