mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-08 02:07:55 +01:00
Merge "ipq6018: net: Fix compiler warning"
This commit is contained in:
commit
3e818cbdf1
1 changed files with 2 additions and 1 deletions
|
|
@ -1574,9 +1574,10 @@ int ipq6018_edma_hw_init(struct ipq6018_edma_hw *ehw)
|
|||
* 4 bytes
|
||||
*/
|
||||
desc_index = ehw->rxdesc_ring_start;
|
||||
reg = IPQ6018_EDMA_QID2RID_TABLE_MEM(0);
|
||||
data = 0;
|
||||
data |= (desc_index & 0xF);
|
||||
ipq6018_edma_reg_write(IPQ6018_EDMA_QID2RID_TABLE_MEM(0), data);
|
||||
ipq6018_edma_reg_write(reg, data);
|
||||
pr_debug("Configure QID2RID reg:0x%x to 0x%x\n", reg, data);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue