diff options
author | jinghua <jinghua@marvell.com> | 2016-09-16 15:07:54 +0200 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2016-09-26 10:42:56 +0200 |
commit | 85f03f0ea8532498d0fbae0749c23ee85e181322 (patch) | |
tree | 02eac1dea8d25c69ae5433cdc667d7ae9b12a0f5 /board/AndesTech/adp-ag101p/MAINTAINERS | |
parent | 9ad5a00712fd1a75b047eca76d9ebaa76609ca11 (diff) | |
download | u-boot-imx-85f03f0ea8532498d0fbae0749c23ee85e181322.zip u-boot-imx-85f03f0ea8532498d0fbae0749c23ee85e181322.tar.gz u-boot-imx-85f03f0ea8532498d0fbae0749c23ee85e181322.tar.bz2 |
i2c: mv_i2c.c: Validate read length in I2C command
The I2C bus will get stuck when reading 0 byte. So we add validation of
the read length in i2c_read(). This issue only occurs on read operation.
Signed-off-by: jinghua <jinghua@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Nadav Haklai <nadavh@marvell.com>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Wilson Ding <dingwei@marvell.com>
Cc: Victor Gu <xigu@marvell.com>
Cc: Hua Jing <jinghua@marvell.com>
Cc: Terry Zhou <bjzhou@marvell.com>
Cc: Hanna Hawa <hannah@marvell.com>
Cc: Haim Boot <hayim@marvell.com>
Cc: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board/AndesTech/adp-ag101p/MAINTAINERS')
0 files changed, 0 insertions, 0 deletions