mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
i2c: slave-eeprom: Add comment about address handling
The behaviour of the EEPROM in the case where we only send an 8bit address to a 16bit address EEPROM is not defined. Added comment about that the slave-eeprom might behave differently from how an actual device does (only one model measured). Reported-by: Wolfram Sang <[email protected]> Signed-off-by: Björn Ardö <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
This commit is contained in:
parent
41d529d622
commit
fe050f9907
1 changed files with 6 additions and 0 deletions
|
|
@ -11,6 +11,12 @@
|
|||
* pointer, yet implementation is deferred until the need actually arises.
|
||||
*/
|
||||
|
||||
/*
|
||||
* FIXME: What to do if only 8 bits of a 16 bit address are sent?
|
||||
* The ST-M24C64 sends only 0xff then. Needs verification with other
|
||||
* EEPROMs, though. We currently use the 8 bit as a valid address.
|
||||
*/
|
||||
|
||||
#include <linux/bitfield.h>
|
||||
#include <linux/i2c.h>
|
||||
#include <linux/init.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue