From patchwork Sat Dec 10 12:23:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 87571 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp777932qgi; Sat, 10 Dec 2016 04:25:24 -0800 (PST) X-Received: by 10.84.210.167 with SMTP id a36mr169220145pli.125.1481372724570; Sat, 10 Dec 2016 04:25:24 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p85si37479906pfj.243.2016.12.10.04.25.24; Sat, 10 Dec 2016 04:25:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752915AbcLJMZI (ORCPT + 5 others); Sat, 10 Dec 2016 07:25:08 -0500 Received: from mail-lf0-f51.google.com ([209.85.215.51]:35533 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752985AbcLJMX6 (ORCPT ); Sat, 10 Dec 2016 07:23:58 -0500 Received: by mail-lf0-f51.google.com with SMTP id b14so17030550lfg.2 for ; Sat, 10 Dec 2016 04:23:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4z1bbai2T1/E/lhUrno4lsCpZK/XC2qFD4PNFGRoJcU=; b=V1yQc/NZMyO89Nx10vTmUIo+qXj9u3MqbCBEYJjOKGm5k9E/SvuWdnsyhTpXgJGD65 S4PUihTBC4IwX9FLbWPlSNg5AWYjwHgdtyc394XSF+luQOBYhP+XerbMwIom8kM7f/UR FMhU3a8touOLYXZp5HM6sLLkFRR5CfJ/MMUGo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4z1bbai2T1/E/lhUrno4lsCpZK/XC2qFD4PNFGRoJcU=; b=V2qYd523fQ2/1qr6jaZ+bIqSJ8o8Gugi8xQtOKVJT4PD9xgt0r33vUyieQWcrYv20J PLI0OVVxa+SqQbzItzNfqt8IbT7q/pa5xs2w42XHjHB9osobYWeJjg00/pgzLW9cOaUH w1dr1/9EiHpX7LMPD6K4krkHyC15K1+0T7mWOImh/W31Jk2EAUxiHyw/D6rrg8+B++Ns QE/YW4IFSMm60TxeUAhqFRcJx+TJlyXQGGfRgCjXJ7HPzaiQl/KB5hMPGWrvzrLo8Uj1 M2FGKlnxya/jWZ7kCPOEZWYnOvaSaWA6ZsnMamZyt2cB6b5OwNfLfNps7C1Av5bDoam+ 9y7A== X-Gm-Message-State: AKaTC03/ucqPb7LUmZ2W4Yi3f6tuIp2RCEukCvOQkbRD2Ol60v9szIh2tp9+Qg0wLKISly35 X-Received: by 10.46.32.77 with SMTP id g74mr26328133ljg.31.1481372636415; Sat, 10 Dec 2016 04:23:56 -0800 (PST) Received: from localhost.localdomain (183-224-132-95.pool.ukrtel.net. [95.132.224.183]) by smtp.gmail.com with ESMTPSA id f14sm2507060lff.40.2016.12.10.04.23.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 10 Dec 2016 04:23:56 -0800 (PST) From: Ivan Khoronzhuk To: mugunthanvnm@ti.com, grygorii.strashko@ti.com Cc: linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Ivan Khoronzhuk Subject: [PATCH 2/5] net: ethernet: ti: cpsw: don't start queue twice Date: Sat, 10 Dec 2016 14:23:47 +0200 Message-Id: <1481372630-14914-3-git-send-email-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1481372630-14914-1-git-send-email-ivan.khoronzhuk@linaro.org> References: <1481372630-14914-1-git-send-email-ivan.khoronzhuk@linaro.org> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org No need to start queues after cpsw is started as it will be done while cpsw_adjust_link(), after phy connection. Signed-off-by: Ivan Khoronzhuk --- drivers/net/ethernet/ti/cpsw.c | 2 -- 1 file changed, 2 deletions(-) -- 2.7.4 diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index c45f7d2..23213a3 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c @@ -1506,8 +1506,6 @@ static int cpsw_ndo_open(struct net_device *ndev) if (cpsw->data.dual_emac) cpsw->slaves[priv->emac_port].open_stat = true; - netif_tx_start_all_queues(ndev); - return 0; err_cleanup: