diff for duplicates of <20070516202001.7a7b2451@hyperion.delvare> diff --git a/a/1.txt b/N1/1.txt index 8cdf9b9..3b312e2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -5,22 +5,3 @@ On Wed, 16 May 2007 16:20:38 +0200, Manuel Lauss wrote: > > Well, no. However the quick probe does an i2c read IIRC so it should be > safe. I'll fix that too. - -From an I2C perspective, zero-byte transactions can be both reads and -writes. So if you accidentally send one more byte on the bus after the -address, you are actually doing a 1-byte read or write. The variant -used by the Linux kernel for probing purposes is the "write" variant. - -> > I am wondering if your code isn't sending -> > an extra (0) byte after the address when asked to send a zero-byte -> > message. That would be bad. Do you have a bus analyzer or scope to -> > check what exactly is being sent on the bus in this case? -> -> Yes I have a scope. I'll improve the driver some more and then check -> the actual data sent over the wires. - -OK, thanks. I have to admit I am a bit curious how (if) you can send a -stop transaction on error without sending an extra byte with this chip. - --- -Jean Delvare diff --git a/a/content_digest b/N1/content_digest index ba4f894..904d4eb 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -16,25 +16,6 @@ "> > the address byte. Is it OK? \n" "> \n" "> Well, no. However the quick probe does an i2c read IIRC so it should be\n" - "> safe. I'll fix that too.\n" - "\n" - "From an I2C perspective, zero-byte transactions can be both reads and\n" - "writes. So if you accidentally send one more byte on the bus after the\n" - "address, you are actually doing a 1-byte read or write. The variant\n" - "used by the Linux kernel for probing purposes is the \"write\" variant.\n" - "\n" - "> > I am wondering if your code isn't sending\n" - "> > an extra (0) byte after the address when asked to send a zero-byte\n" - "> > message. That would be bad. Do you have a bus analyzer or scope to\n" - "> > check what exactly is being sent on the bus in this case?\n" - "> \n" - "> Yes I have a scope. I'll improve the driver some more and then check\n" - "> the actual data sent over the wires.\n" - "\n" - "OK, thanks. I have to admit I am a bit curious how (if) you can send a\n" - "stop transaction on error without sending an extra byte with this chip.\n" - "\n" - "-- \n" - Jean Delvare + > safe. I'll fix that too. -e60ae65ec02f6672d6c9b62e788ff08c3ec3af0e7aff376d72e46d83734e7f08 +3ef78d38918e79c63a307a277a9c375a7322ca669ea8217784dd84c01862a255
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox