diff options
author | 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com> | 2021-03-19 18:12:13 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-03-31 09:16:00 +0200 |
commit | 942bfbecc0281c75db84f744b9b77b0f2396f484 (patch) | |
tree | b3a5218dc2a715d82b4935a30fc083dfe43b94d6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e409a6a3e0690efdef9b8a96197bc61ff117cfaf (diff) |
I2C: JZ4780: Fix bug for Ingenic X1000.
Only send "X1000_I2C_DC_STOP" when last byte, or it will cause
error when I2C write operation which should look like this:
device_addr + w, reg_addr, data;
But without this patch, it looks like this:
device_addr + w, reg_addr, device_addr + w, data;
Fixes: 21575a7a8d4c ("I2C: JZ4780: Add support for the X1000.")
Reported-by: 杨文龙 (Yang Wenlong) <ywltyut@sina.cn>
Tested-by: 杨文龙 (Yang Wenlong) <ywltyut@sina.cn>
Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions