Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp887288yba; Thu, 18 Apr 2019 11:13:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxIpZM5cZFZELYV+PR+UpgWVIRnJoVj2tyHWdyB3qIp7R8VdGDaopP/EoQWvGMNukZpFvfm X-Received: by 2002:a17:902:b60d:: with SMTP id b13mr98164070pls.100.1555611213033; Thu, 18 Apr 2019 11:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555611213; cv=none; d=google.com; s=arc-20160816; b=tY8pa7sjhghrzQVqkog6/E2znT/vO19dcSMjUTBRRwB87WMvlnDKssgadnCnviPeNM r9/lzbvuPDNAZuoHLa1fc1K7g6TNfxhFla50RPmyLsQGWsVG2hHIrXmtdMZ2hkZ6w2s7 E0L3S9+ntjCH8aLXReW82IYt1x8s2XjnbVTVYwZYZktj30DS2BsLeYADrU5WhbZRiNoH YbaA3bBeN6EPZ6LW+r6NFqZfCbY91nGXvz9PEJDrkoS5AptzmosE52p/+A7cMPDA5p/Z HrHrGdW3NQ/k83WGGsVS/oWBhBgeyUSteEiK/bVk2edJHxWgsSKkqfvQB1qL7pBaopuY Poyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ZhkpT4HITJNSJC8akg1mfSiQbpBr/YiDloo8AVyHTzo=; b=rNP+yMMQrSt5mEc8AywXOEilY4Jk7v1fjHwzhWMSTw3IkJ4rZ5fBwKzBcu91vqqhGQ 7BkI1rtKaYRCFXqdzbW92qOISpZhsFFqocM/Rz5OU88QQzQbp2/864FRujXtPyEFwGR/ nu1aU3aKkaBgMRPn5l8RQ2pOxX/wSJF8gWOXal6UueuLQxKFHa4EyEnGjwkRPatIrKvu bxcTxp06JUUJ3FAQxhEU2Pfepdt3jrT/kMSCU1ypRnyQhaowh0nUdmn67LUTNX9JL8EN ALJaD2sE3rWRT9nqj7WVhcVQ1WMybdzbhp9wx9y1fodewlG7CObx/V+CBfqq1GNMYlBC T3aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=k1+1tWcP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3si2737743pfh.249.2019.04.18.11.13.18; Thu, 18 Apr 2019 11:13:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@kernel.org header.s=default header.b=k1+1tWcP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391201AbfDRSK1 (ORCPT + 99 others); Thu, 18 Apr 2019 14:10:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:42150 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404119AbfDRSKY (ORCPT ); Thu, 18 Apr 2019 14:10:24 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0E66A20675; Thu, 18 Apr 2019 18:10:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555611023; bh=B5wjE0fDvV7Yv2yh3z7E95r+xY00wV1XeD52730xahs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k1+1tWcPpiuIoIYvLihnuGo03iXd8ovJZA/oei21XMHQyC3lw66bBdp8QgGoCWA2J VbLfpeu++skkKY/2XNXX2Mz9k3ofAU+I3j/iMo/owPEY2cmP6rC0MZxP5BJH/jKf9V Pz3rP+Fyh52yFOn3phbVMMcp/7Z3MhowufOQ1J/s= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Hauke Mehrtens , Eric Bohlman , =?UTF-8?q?Petr=20=C5=A0tetiar?= , Paul Burton , Sasha Levin Subject: [PATCH 5.0 06/93] mips: bcm47xx: Enable USB power on Netgear WNDR3400v2 Date: Thu, 18 Apr 2019 19:56:44 +0200 Message-Id: <20190418160437.684867203@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190418160436.781762249@linuxfoundation.org> References: <20190418160436.781762249@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit cdb8faa00e3fcdd0ad10add743516d616dc7d38e ] Eric has reported on OpenWrt's bug tracking system[1], that he's not able to use USB devices on his WNDR3400v2 device after the boot, until he turns on GPIO #21 manually through sysfs. 1. https://bugs.openwrt.org/index.php?do=details&task_id=2170 Cc: Rafał Miłecki Cc: Hauke Mehrtens Reported-by: Eric Bohlman Tested-by: Eric Bohlman Signed-off-by: Petr Štetiar Signed-off-by: Paul Burton Signed-off-by: Sasha Levin --- arch/mips/bcm47xx/workarounds.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/bcm47xx/workarounds.c b/arch/mips/bcm47xx/workarounds.c index 46eddbec8d9f..0ab95dd431b3 100644 --- a/arch/mips/bcm47xx/workarounds.c +++ b/arch/mips/bcm47xx/workarounds.c @@ -24,6 +24,7 @@ void __init bcm47xx_workarounds(void) case BCM47XX_BOARD_NETGEAR_WNR3500L: bcm47xx_workarounds_enable_usb_power(12); break; + case BCM47XX_BOARD_NETGEAR_WNDR3400V2: case BCM47XX_BOARD_NETGEAR_WNDR3400_V3: bcm47xx_workarounds_enable_usb_power(21); break; -- 2.19.1