linux/drivers/misc/eeprom
Cory Tusar cb54ad6cdd misc: eeprom_93xx46: Fix 16-bit read and write accesses.
Compatible at93xx46 devices from both Microchip and Atmel expect a
word-based address, regardless of whether the device is strapped for 8-
or 16-bit operation.  However, the offset parameter passed in when
reading or writing at a specific location is always specified in terms
of bytes.

This commit fixes 16-bit read and write accesses by shifting the offset
parameter to account for this difference between a byte offset and a
word-based address.

Signed-off-by: Cory Tusar <cory.tusar@pid1solutions.com>
Tested-by: Chris Healy <chris.healy@zii.aero>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-09 17:27:45 -08:00
..
at24.c misc: eeprom: use kobj_to_dev() 2016-02-07 23:01:45 -08:00
at25.c misc: eeprom: use kobj_to_dev() 2016-02-07 23:01:45 -08:00
digsy_mtc_eeprom.c misc/eeprom: add eeprom access driver for digsy_mtc board 2011-07-25 20:57:16 -07:00
eeprom_93cx6.c eeprom-93cx6: Add (read-only) support for 8-bit mode 2014-11-25 15:42:53 +01:00
eeprom_93xx46.c misc: eeprom_93xx46: Fix 16-bit read and write accesses. 2016-02-09 17:27:45 -08:00
eeprom.c misc: eeprom: use kobj_to_dev() 2016-02-07 23:01:45 -08:00
Kconfig nvmem: sunxi: Move the SID driver to the nvmem framework 2015-08-05 13:44:24 -07:00
Makefile nvmem: sunxi: Move the SID driver to the nvmem framework 2015-08-05 13:44:24 -07:00
max6875.c Merge branch 'i2c/for-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2015-09-08 16:16:26 -07:00