diff options
author | Wolfram Sang <[email protected]> | 2020-03-27 23:28:26 +0100 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2020-04-15 11:48:21 +0200 |
commit | edb2c9dd3948738ef030c32b948543e84f4d3f81 (patch) | |
tree | a8d30e03019249455d3c09df974791403b12f4a3 /scripts/gdb/linux/config.py | |
parent | d79294d0de12ddd1420110813626d691f440b86f (diff) |
i2c: altera: use proper variable to hold errno
device_property_read_u32() returns errno or 0, so we should use the
integer variable 'ret' and not the u32 'val' to hold the retval.
Fixes: 0560ad576268 ("i2c: altera: Add Altera I2C Controller driver")
Signed-off-by: Wolfram Sang <[email protected]>
Reviewed-by: Thor Thayer <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions