From a6b1e6bd2349ede7bf51b0cd3f3e4ca6a5539d34 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 26 Jan 2016 08:04:36 -0600 Subject: [PATCH] Updat ChangeLog --- ChangeLog | 9 +++++++++ arch | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4951d6f440..cd94d5c3ef 100755 --- a/ChangeLog +++ b/ChangeLog @@ -11360,3 +11360,12 @@ fixed on 2016-01-23. (2016-01-26). * drivers/usbhost/hid_parser.c: Wrong size used in memcpy(). From Hang Xu (2016-01-25). + * drivers/ioexpander/pca9555.c: Fixed a bug in the function pca9555_setbit + which occurs if someone tries to set one of the pins 8-15. The problem is + that after the check if the pin is greater than 7 the variable addr is + incremented and used in the Call I2C_WRITEREAD. But later in the call to + the I2C_WRITE buf[0] is used as address but this address is not incremented + as it should be. Note address does mean the address to the register in the + ioexpander and not the I2C address. From Stefan Kolb (2016-01-26). + * drivers/ioexpander/pca9555: Convert to use I2C_TRANSFER vs. I2C_WRITEREAD, + the former is thread safe while the latter is deprecated (2016-01-26). diff --git a/arch b/arch index c299f1fd71..17e8a324c8 160000 --- a/arch +++ b/arch @@ -1 +1 @@ -Subproject commit c299f1fd7161babd61ad5abf3501728966eeb34a +Subproject commit 17e8a324c80f02bb9881a12cf6d02509a128c431