commit | 5e0fd5487b89c90114e89663fb7324102bf5f4ce | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed Jan 31 00:57:17 2018 +0100 |
committer | Heiko Schocher <hs@denx.de> | Tue Feb 06 07:02:32 2018 +0100 |
tree | d79f23fb6ae97c0b1488c97a670f36439439555e | |
parent | 96961e8481fe0254cf800bec24783142db093376 [diff] |
i2c: mvtwsi.c: Avoid NULL dereference For '#ifndef CONFIG_DM_I2C' twsi_i2c_init() passes NULL as 4th parameter to __twsi_i2c_init(). Identified with cppcheck. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>