diff options
author | David S. Miller <davem@davemloft.net> | 2013-07-03 17:50:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-03 17:55:13 -0400 |
commit | 0c1072ae0242fbdffd9a0bba36e7a7033d287f9c (patch) | |
tree | e0f4dbdbf5078d4a707911177e7bdc17a70bdce5 /drivers/net/ethernet/ti | |
parent | c50cd357887acf9fd7af3a5d492911bd825555a2 (diff) | |
parent | 8bb495e3f02401ee6f76d1b1d77f3ac9f079e376 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts:
drivers/net/ethernet/freescale/fec_main.c
drivers/net/ethernet/renesas/sh_eth.c
net/ipv4/gre.c
The GRE conflict is between a bug fix (kfree_skb --> kfree_skb_list)
and the splitting of the gre.c code into seperate files.
The FEC conflict was two sets of changes adding ethtool support code
in an "!CONFIG_M5272" CPP protected block.
Finally the sh_eth.c conflict was between one commit add bits set
in the .eesr_err_check mask whilst another commit removed the
.tx_error_check member and assignments.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti')
-rw-r--r-- | drivers/net/ethernet/ti/cpsw.c | 3 | ||||
-rw-r--r-- | drivers/net/ethernet/ti/davinci_cpdma.c | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index 2c3657adc7cb..ab48cef9e5a9 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c | |||
@@ -1974,9 +1974,12 @@ static int cpsw_suspend(struct device *dev) | |||
1974 | { | 1974 | { |
1975 | struct platform_device *pdev = to_platform_device(dev); | 1975 | struct platform_device *pdev = to_platform_device(dev); |
1976 | struct net_device *ndev = platform_get_drvdata(pdev); | 1976 | struct net_device *ndev = platform_get_drvdata(pdev); |
1977 | struct cpsw_priv *priv = netdev_priv(ndev); | ||
1977 | 1978 | ||
1978 | if (netif_running(ndev)) | 1979 | if (netif_running(ndev)) |
1979 | cpsw_ndo_stop(ndev); | 1980 | cpsw_ndo_stop(ndev); |
1981 | soft_reset("sliver 0", &priv->slaves[0].sliver->soft_reset); | ||
1982 | soft_reset("sliver 1", &priv->slaves[1].sliver->soft_reset); | ||
1980 | pm_runtime_put_sync(&pdev->dev); | 1983 | pm_runtime_put_sync(&pdev->dev); |
1981 | 1984 | ||
1982 | return 0; | 1985 | return 0; |
diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c b/drivers/net/ethernet/ti/davinci_cpdma.c index a377bc727740..031ebc81b50c 100644 --- a/drivers/net/ethernet/ti/davinci_cpdma.c +++ b/drivers/net/ethernet/ti/davinci_cpdma.c | |||
@@ -706,6 +706,13 @@ int cpdma_chan_submit(struct cpdma_chan *chan, void *token, void *data, | |||
706 | } | 706 | } |
707 | 707 | ||
708 | buffer = dma_map_single(ctlr->dev, data, len, chan->dir); | 708 | buffer = dma_map_single(ctlr->dev, data, len, chan->dir); |
709 | ret = dma_mapping_error(ctlr->dev, buffer); | ||
710 | if (ret) { | ||
711 | cpdma_desc_free(ctlr->pool, desc, 1); | ||
712 | ret = -EINVAL; | ||
713 | goto unlock_ret; | ||
714 | } | ||
715 | |||
709 | mode = CPDMA_DESC_OWNER | CPDMA_DESC_SOP | CPDMA_DESC_EOP; | 716 | mode = CPDMA_DESC_OWNER | CPDMA_DESC_SOP | CPDMA_DESC_EOP; |
710 | cpdma_desc_to_port(chan, mode, directed); | 717 | cpdma_desc_to_port(chan, mode, directed); |
711 | 718 | ||