Message ID | 1498563385-1430-3-git-send-email-amit.pundir@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.101.48 with SMTP id t45csp1098780qge; Tue, 27 Jun 2017 04:36:38 -0700 (PDT) X-Received: by 10.98.137.68 with SMTP id v65mr4261677pfd.9.1498563398032; Tue, 27 Jun 2017 04:36:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498563398; cv=none; d=google.com; s=arc-20160816; b=acPT04PnCpy25bXMZVAPLY1WZq9n9e1R390HuNBpXbgiAZwt4Q+RBRuGnChMw2DSfg XYTLDDIzpPpvALO/QOd0DI/7LMi6x0qXG/5bv+q0y5iyAM7seO/7RFbjmQT1Uc2q8qYc kzXPeQa0V0auop3lZSVQvmI+Oe3ctlTeBfPQDRUW3GQ+qeL+6GTmk9SS1cspevrfucEH 7BMLIivMZlFJPxppsgT3gqfLHbLxVjPXfpdLZjnyBDOV9d++pd9vHVdHf//BetN6PbrK pjPIl3cPOdf5aGHgag8Ay5l9j3JEydE+U/pg4NB8hedGRy4UbQCRz5vnwjzj4WJa0AtW 6vwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=cuH4FbOZ7M+TNvqhkvVYLEPAfod0yYw3tSc9aF+H0tE=; b=RUd+0oLTZ8KLrjkf9DpHoOVoTgNn7vQ6uDgTczOyy9ym/gyAG4brLD0QeW0T31VYAj iM5d1j/n99JHqApHTHvXMaO3f3vIE7M5OjMG8Sv6k4+8UlRai2C9odxe9NZ70BYX8c7R gNJk9L8N+T+iEr2GRPQXQocFz/dW9/ZBXekOTiaQYNVa0NnbFpM0XMSUjXzPqy+d1YuG af2DuKs8jX8WhaXiZFPwLHySibbT+eGmLnf4OS7EP0j8re63AaQB8tXdcBJBSt9aFGFo storkjBA3b080Y30oJi43WG//63WGEdc8GBeReFFdnf4ZwHOvDSkAQ1o1W5MNgXJGc54 t3oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=Osa5scnp; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2si1791565pgo.132.2017.06.27.04.36.37; Tue, 27 Jun 2017 04:36:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-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 header.b=Osa5scnp; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752271AbdF0Lgh (ORCPT <rfc822;sumit.semwal@linaro.org> + 6 others); Tue, 27 Jun 2017 07:36:37 -0400 Received: from mail-pg0-f53.google.com ([74.125.83.53]:35475 "EHLO mail-pg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751659AbdF0Lgg (ORCPT <rfc822;stable@vger.kernel.org>); Tue, 27 Jun 2017 07:36:36 -0400 Received: by mail-pg0-f53.google.com with SMTP id j186so14526362pge.2 for <stable@vger.kernel.org>; Tue, 27 Jun 2017 04:36:36 -0700 (PDT) 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=cuH4FbOZ7M+TNvqhkvVYLEPAfod0yYw3tSc9aF+H0tE=; b=Osa5scnpUKK6NNC1czZmmTXGcwkoRKrjNbHmcYX0JzXxRUaRN5CM14/yEB5+nY/MQf D0IugC/VMi2vfV/+LmDw8QqR4A+Qx7152oCxN2jYGy7pisBegipmsDRqfq6cGBplTNdE oSqaABzvmJ9pHSqwA9lOoW6EVGwPskJOmBMwM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cuH4FbOZ7M+TNvqhkvVYLEPAfod0yYw3tSc9aF+H0tE=; b=THXHw9VaYTb+3ivMsZe2ubHzvNoFC0VH1Qw545sgeXxLXMBasnSa0D6kNr1++PGPW7 2mnnuZYzyo3yAn36o6yECUWGjde7nTjGlxFKOfpZcFAaG0AXg0Z6ndwEMfDKbpJqi0x5 +dAHUriAGRh7Pkn2KJE7XRKFfWVAC9DCMV5430Cfj5PyGl/4nmqKk+yXChy0vY49onBD e8XivjAtmkD8tvrV73ZwHrGScei81XUE7KFr0AYFWVoR2quFrPeppWigfinhgh0GqBJ0 8yZwT7SSu8/PQHfaf7NCv1DFouIYtFBV6ttP7qAM1Lj6SDJozJDxNpVJagJAGbDP4qYG FaAA== X-Gm-Message-State: AKS2vOzGfPAh4jr+3lRepYMPJrqZQqL8qjDnYp2eZy6OcNuTVkJmMGSl KMvjuCnlO/37az8tUGfyHw== X-Received: by 10.99.49.20 with SMTP id x20mr4789430pgx.181.1498563396080; Tue, 27 Jun 2017 04:36:36 -0700 (PDT) Received: from localhost.localdomain ([106.51.139.251]) by smtp.gmail.com with ESMTPSA id b8sm6317506pfd.65.2017.06.27.04.36.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 27 Jun 2017 04:36:34 -0700 (PDT) From: Amit Pundir <amit.pundir@linaro.org> To: Greg KH <gregkh@linuxfoundation.org> Cc: Stable <stable@vger.kernel.org>, Russell King <rmk+kernel@armlinux.org.uk>, "David S . Miller" <davem@davemloft.net> Subject: [PATCH for-4.11 2/2] net: phy: fix marvell phy status reading Date: Tue, 27 Jun 2017 17:06:25 +0530 Message-Id: <1498563385-1430-3-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1498563385-1430-1-git-send-email-amit.pundir@linaro.org> References: <1498563385-1430-1-git-send-email-amit.pundir@linaro.org> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
Stable commits picked up from lede project
|
expand
|
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index 9097e42bec2e..57297ba23987 100644 --- a/drivers/net/phy/marvell.c +++ b/drivers/net/phy/marvell.c @@ -1127,8 +1127,6 @@ static int marvell_read_status_page(struct phy_device *phydev, int page) if (adv < 0) return adv; - lpa &= adv; - if (status & MII_M1011_PHY_STATUS_FULLDUPLEX) phydev->duplex = DUPLEX_FULL; else