提交 fe050f99 编写于 作者: B Björn Ardö 提交者: Wolfram Sang

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: NWolfram Sang <wsa@the-dreams.de>
Signed-off-by: NBjörn Ardö <bjorn.ardo@axis.com>
Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
上级 41d529d6
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部