commit | f1c0b7e448b9e66dd9a7343bab58a3d3a477e104 | [log] [tgz] |
---|---|---|
author | Brendan Higgins <brendanhiggins@google.com> | Fri Jul 28 18:00:12 2017 -0700 |
committer | Wolfram Sang <wsa@the-dreams.de> | Mon Aug 14 22:08:13 2017 +0200 |
tree | cecbf06006c6d959de29bd75387e4023b58fffa5 | |
parent | 42543aeb48e3701b49e0a83654248afc38feb88f [diff] |
i2c: aspeed: fixed potential null pointer dereference Before I skipped null checks when the master is in the STOP state; this fixes that. Signed-off-by: Brendan Higgins <brendanhiggins@google.com> Acked-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Fixes: f327c686d3ba ("i2c: aspeed: added driver for Aspeed I2C")