mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-01 17:36:03 +01:00
i2c: kona: Resolve Kona I2C driver issue
- "i2c mw" command hangs (with some compilers) Signed-off-by: Steve Rae <srae@broadcom.com>
This commit is contained in:
parent
e153b13c8e
commit
6736ec15c5
1 changed files with 1 additions and 1 deletions
|
|
@ -663,7 +663,7 @@ static int kona_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr,
|
|||
static int kona_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr,
|
||||
int alen, uchar *buffer, int len)
|
||||
{
|
||||
struct i2c_msg msg[0];
|
||||
struct i2c_msg msg[1];
|
||||
unsigned char msgbuf0[64];
|
||||
unsigned int i;
|
||||
struct bcm_kona_i2c_dev *dev = kona_get_dev(adap);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue