]> git.baikalelectronics.ru Git - uboot.git/commit
net: ti: am65-cpsw-nuss: Don't cache disabled port ID
authorVignesh Raghavendra <vigneshr@ti.com>
Mon, 10 May 2021 14:36:10 +0000 (20:06 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Wed, 12 May 2021 11:06:38 +0000 (16:36 +0530)
commit8f250c00a7457c42baf8cdf1a4998a438d7fcc04
treede36b66b9442d05c749c313e72d57b66306a55cf
parentda1f07ad80e3e73eafce8a737b8170c82b143ef7
net: ti: am65-cpsw-nuss: Don't cache disabled port ID

Currently driver may end up caching disabled port ID as active
interface. Fix this by bailing out earlier in case port is marked
disabled in the DT.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
drivers/net/ti/am65-cpsw-nuss.c