net: ti: am65-cpsw-nuss: Rework RX flow ID handling
authorVignesh Raghavendra <vigneshr@ti.com>
Wed, 4 Dec 2019 16:47:22 +0000 (22:17 +0530)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 9 Dec 2019 15:47:43 +0000 (09:47 -0600)
commit461a290c5afbbb00dcbd671bedcad13abea9b37a
treea7a8436df0cb5aa6fa61c83e3add2978656639d0
parent5e6d9ccde9cf700e19e0d783f1f671a1eb4a60fb
net: ti: am65-cpsw-nuss: Rework RX flow ID handling

Get flow ID information for RX DMA channel using dma_get_cfg() interface
instead of reading from DT. This is required in order to avoid DT update
whenever there is change in the range of flow ID allocated to the host.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
drivers/net/ti/am65-cpsw-nuss.c