diff options
author | Stefan Chulski <stefanc@marvell.com> | 2017-08-09 10:37:46 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2017-08-10 08:33:02 +0200 |
commit | bb915c843f28573bb31496644e7f7e2c0a066fd8 (patch) | |
tree | c877058871231c009c6489f11f737dbf08d8a478 /drivers/i2c/designware_i2c.c | |
parent | 73f592fb724153f8afbd79098f918ff548fda7ef (diff) |
net: mvpp2x: fix BM configuration overrun issue
Issue:
BM counters were overrun by probe that called per Network interface and
caused release of wrong number of buffers during remove procedure.
Fix:
Use probe_done and num_ports to call init and remove procedure
once per communication controller.
Signed-off-by: Stefan Chulski <stefanc@marvell.com>
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Igal Liberman <igall@marvell.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/i2c/designware_i2c.c')
0 files changed, 0 insertions, 0 deletions