misc: i2c_eeprom: set offset len and chip addr offset mask
authorRobert Beckett <bob.beckett@collabora.com>
Fri, 31 Jan 2020 13:07:52 +0000 (15:07 +0200)
committerStefano Babic <sbabic@denx.de>
Sun, 9 Feb 2020 20:47:20 +0000 (21:47 +0100)
commit821c982e359a383c8b95106e135da9fd98f16d2b
treed1ec62f57f1575d5fa5e55b5a975d02e49798e20
parent7814abc032ef381cf89004daf0f2ae3123550026
misc: i2c_eeprom: set offset len and chip addr offset mask

Set the correct offset length and chip address offset mask for each
device to allow correct access to total capacity of the devices.

Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
drivers/misc/i2c_eeprom.c