Re: [PATCH V2] net: ethernet: ti: cpsw: Fix suspend/resume break

2019-06-25 Thread keerthy
On 6/24/2019 7:53 PM, David Miller wrote: From: Keerthy Date: Mon, 24 Jun 2019 10:46:19 +0530 Commit bfe59032bd6127ee190edb30be9381a01765b958 ("net: ethernet: ti: cpsw: use cpsw as drv data")changes the driver data to struct cpsw_common *cpsw. This is done only in probe/remove but the

Re: [PATCH V2] net: ethernet: ti: cpsw: Fix suspend/resume break

2019-06-24 Thread David Miller
From: Keerthy Date: Mon, 24 Jun 2019 10:46:19 +0530 > Commit bfe59032bd6127ee190edb30be9381a01765b958 ("net: ethernet: > ti: cpsw: use cpsw as drv data")changes > the driver data to struct cpsw_common *cpsw. This is done > only in probe/remove but the suspend/resume functions are > still left

[PATCH V2] net: ethernet: ti: cpsw: Fix suspend/resume break

2019-06-23 Thread Keerthy
Commit bfe59032bd6127ee190edb30be9381a01765b958 ("net: ethernet: ti: cpsw: use cpsw as drv data")changes the driver data to struct cpsw_common *cpsw. This is done only in probe/remove but the suspend/resume functions are still left with struct net_device *ndev. Hence fix both suspend & resume also