diff options
| author | John Garry <[email protected]> | 2017-01-06 19:02:57 +0800 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2017-01-12 20:06:15 +0100 |
| commit | 6f724fb3039522486fce2e32e4c0fbe238a6ab02 (patch) | |
| tree | b9ae15aff1dd84ac38f7b486e19c4ac69635bf80 /tools/lib/api/fd/array.c | |
| parent | 331c34255293cd02d395b7097008b509ba89e60e (diff) | |
i2c: print correct device invalid address
In of_i2c_register_device(), when the check for
device address validity fails we print the info.addr,
which has not been assigned properly.
Fix this by printing the actual invalid address.
Signed-off-by: John Garry <[email protected]>
Reviewed-by: Vladimir Zapolskiy <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Fixes: b4e2f6ac1281 ("i2c: apply DT flags when probing")
Cc: [email protected]
Diffstat (limited to 'tools/lib/api/fd/array.c')
0 files changed, 0 insertions, 0 deletions