Searched hist:dac2639f (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/mtd/ |
H A D | mtd.h | dac2639f Wed Dec 28 09:50:34 CST 2011 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: do not use mtd->read_oob directly
Instead of checking whether 'mtd->read_oob' is defined, just call 'mtd_read_oob()' and handle the '-EOPNOTSUPP' error which will be returned if the function is undefined.
Additionally, make 'mtd_write_oob()' return '-EOPNOTSUPP' if the function is undefined.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> dac2639f Wed Dec 28 09:50:34 CST 2011 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: do not use mtd->read_oob directly Instead of checking whether 'mtd->read_oob' is defined, just call 'mtd_read_oob()' and handle the '-EOPNOTSUPP' error which will be returned if the function is undefined. Additionally, make 'mtd_write_oob()' return '-EOPNOTSUPP' if the function is undefined. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
|
/openbmc/linux/drivers/mtd/ |
H A D | mtdchar.c | dac2639f Wed Dec 28 09:50:34 CST 2011 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: do not use mtd->read_oob directly
Instead of checking whether 'mtd->read_oob' is defined, just call 'mtd_read_oob()' and handle the '-EOPNOTSUPP' error which will be returned if the function is undefined.
Additionally, make 'mtd_write_oob()' return '-EOPNOTSUPP' if the function is undefined.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> dac2639f Wed Dec 28 09:50:34 CST 2011 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: do not use mtd->read_oob directly Instead of checking whether 'mtd->read_oob' is defined, just call 'mtd_read_oob()' and handle the '-EOPNOTSUPP' error which will be returned if the function is undefined. Additionally, make 'mtd_write_oob()' return '-EOPNOTSUPP' if the function is undefined. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
|