hg: dio/dev: 8145419: I2CCombinedMessage.transfer() would not trigger a stop condition if last recently added buffer's remaining() == 0
olga.milovskaya at oracle.com
olga.milovskaya at oracle.com
Mon Dec 28 12:07:39 UTC 2015
Changeset: 9e33128d2ca4
Author: onazarkina
Date: 2015-12-28 15:07 +0300
URL: http://hg.openjdk.java.net/dio/dev/rev/9e33128d2ca4
8145419: I2CCombinedMessage.transfer() would not trigger a stop condition if last recently added buffer's remaining() == 0
Summary: last buffer such as buffer.remaining() != 0 is marked with respective attribute to trigger a stop condition. Besides, an unexpected IAE doesn't occur (JDK-8144994?) anymore.
Reviewed-by: snazarki
! src/share/classes/com/oracle/dio/i2cbus/impl/I2CCombinedMessage.java
! src/share/linux/native/com/oracle/dio/i2c/i2c.c
! src/share/linux/native/com/oracle/dio/spibus/spi.c
More information about the dio-dev
mailing list