git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/atlantic: use EEPROM magic as a device address
[dpdk.git]
/
drivers
/
net
/
atlantic
/
hw_atl
/
hw_atl_utils.c
diff --git
a/drivers/net/atlantic/hw_atl/hw_atl_utils.c
b/drivers/net/atlantic/hw_atl/hw_atl_utils.c
index
13f02b9
..
4299b70
100644
(file)
--- a/
drivers/net/atlantic/hw_atl/hw_atl_utils.c
+++ b/
drivers/net/atlantic/hw_atl/hw_atl_utils.c
@@
-305,6
+305,10
@@
int hw_atl_utils_fw_downld_dwords(struct aq_hw_s *self, u32 a,
AQ_HW_WAIT_FOR(!(0x100 & aq_hw_read_reg(self,
HW_ATL_MIF_CMD)),
1, 1000U);
+ if (err) {
+ err = -ETIMEDOUT;
+ goto err_exit;
+ }
*(p++) = aq_hw_read_reg(self, HW_ATL_MIF_VAL);
a += 4;