commit | e93e809f2f71bc6705818f1978b2d15bddfcae72 | [log] [tgz] |
---|---|---|
author | Nikita Kiryanov <nikita@compulab.co.il> | Sun Sep 06 11:48:36 2015 +0300 |
committer | Stefano Babic <sbabic@denx.de> | Sun Sep 13 10:35:43 2015 +0200 |
tree | eb83ee18be28f3618baa5a43b046e66debb6fd8e | |
parent | 72898ac7b80b42060b30d17cf185ea7a01194840 [diff] |
compulab: eeprom: propagate error value in read_mac_addr() cl_eeprom_read_mac_addr() doesn't differentiate between success case and inability to access eeprom. Fix this by propagating the return value of cl_eeprom_setup(). Cc: Stefano Babic <sbabic@denx.de> Cc: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Acked-by: Igor Grinberg <grinberg@compulab.co.il>