aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/dsopcode.c
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2011-11-19 10:02:47 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-01-09 13:07:17 -0500
commit32a50b3a457fda9606fd0946eb77ba28a520cd7f (patch)
tree43df59205d0b08e3257249df581f3202d44c8d02 /drivers/acpi/acpica/dsopcode.c
parent34db8a5a72c5c5eb5d2811f237dcc9bf3c6425a9 (diff)
mtd: docg3: fix reading oob+data without correction
Fix the docg3 reads to be able to cope with all possible data buffer / oob buffer / file mode combinations from docg3_read_oob(). This especially ensures that raw reads do not use ECC corrections, and AUTOOOB and PLACEOOB do use ECC correction. The approach is to empty docg3_read() and make it a wrapper to docg3_read_oob(). As docg3_read_oob() handles all the funny cases (no data buffer but oob buffer, data buffer but no oob buffer, ...), docg3_read() is just a special use of docg3_read_oob(). Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Reviewed-by: Ivan Djelic <ivan.djelic@parrot.com> Reviewed-by: Mike Dunn <mikedunn@newsguy.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/dsopcode.c')
0 files changed, 0 insertions, 0 deletions