Message ID | 20201214172556.969079739@linuxfoundation.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp3259631jai; Mon, 14 Dec 2020 10:59:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJzlKeKuTGcFbNNhFH16CxbU95tnGdznMwA3pDj44mJ9B/mj3ZYKtjq1fbrJZiLcZwU33vf4 X-Received: by 2002:a17:906:895:: with SMTP id n21mr23611459eje.52.1607972377780; Mon, 14 Dec 2020 10:59:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607972377; cv=none; d=google.com; s=arc-20160816; b=a3eU3Oq0Wr9xOcSKWPtzHOg1uyL7eg1qGU6vnwuNAIhvfq2RkiJbenWsCP3L0T3HWB cuPcQe5pMSc6eC88GAdR3OA9fkMcghngbrtjG550Vy3pk+ufIyuupI7TA5udh8Kt6lQk DSBkEnucQMRdZmqSpqwmcMBwfpYg5tuTjRyqzulv4M+bxvMQV99/EbigA2I6tUYW/0sd c1uYAAj8UOkI/2uEvsavKWAjuQD2poOH8/rwwwlLDfy3Qi82oh2P0yLV3si877H/JvD2 YLlpNIeIKP3OIQAnb4EY+AGfl3eHDlqKBNBBt4vZXIlES6Vzun0D0eq7GE+p9zohZMKK q5gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=xmfBXZBN4MqsCycst7DCGh+naJUy4gmACgiMYaM5+Gg=; b=np9zT7PLB9z72ewqqmElnhvtCqtBKbct163rxp5cY5nwaX9uKGOK9AE+uznpCLEsS3 07HPucLta73s2se6m9pOlOj0c0EXdaHFwC0artfWyFpmQmJFEUrZ7Uz0Ke+h9c5gT+Qq rgVDsVYp6Zw835130KzYK22AmXGiPjNHyfa8BGd+xh9RglTaavUVFs5GW67NiF+RWkAs INE9mRv/iu9fj1tjPt781CAjC34/dKV26o2j7d8iWApksaRjmH2rX/viCwc4m5ye4Bz+ CwvVBvzJ19YKyJiKHjhpGC2+fVf65vKVa2yBv66brQJo58t1mvgE+j6uhN+fFyhl9RXp yvKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lr3si10177157ejb.388.2020.12.14.10.59.37; Mon, 14 Dec 2020 10:59:37 -0800 (PST) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732908AbgLNS7Z (ORCPT <rfc822;semen.protsenko@linaro.org> + 14 others); Mon, 14 Dec 2020 13:59:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:46000 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502221AbgLNRh3 (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 14 Dec 2020 12:37:29 -0500 From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Aaro Koskinen <aaro.koskinen@iki.fi>, Linus Walleij <linus.walleij@linaro.org>, Sasha Levin <sashal@kernel.org> Subject: [PATCH 5.9 035/105] usb: ohci-omap: Fix descriptor conversion Date: Mon, 14 Dec 2020 18:28:09 +0100 Message-Id: <20201214172556.969079739@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201214172555.280929671@linuxfoundation.org> References: <20201214172555.280929671@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/arch/arm/mach-omap1/board-osk.c b/arch/arm/mach-omap1/board-osk.c index 144b9caa935c4..a720259099edf 100644 --- a/arch/arm/mach-omap1/board-osk.c +++ b/arch/arm/mach-omap1/board-osk.c @@ -288,7 +288,7 @@ static struct gpiod_lookup_table osk_usb_gpio_table = { .dev_id = "ohci", .table = { /* Power GPIO on the I2C-attached TPS65010 */ - GPIO_LOOKUP("i2c-tps65010", 1, "power", GPIO_ACTIVE_HIGH), + GPIO_LOOKUP("tps65010", 0, "power", GPIO_ACTIVE_HIGH), GPIO_LOOKUP(OMAP_GPIO_LABEL, 9, "overcurrent", GPIO_ACTIVE_HIGH), }, diff --git a/drivers/usb/host/ohci-omap.c b/drivers/usb/host/ohci-omap.c index 9ccdf2c216b51..6374501ba1390 100644 --- a/drivers/usb/host/ohci-omap.c +++ b/drivers/usb/host/ohci-omap.c @@ -91,14 +91,14 @@ static int omap_ohci_transceiver_power(struct ohci_omap_priv *priv, int on) | ((1 << 5/*usb1*/) | (1 << 3/*usb2*/)), INNOVATOR_FPGA_CAM_USB_CONTROL); else if (priv->power) - gpiod_set_value(priv->power, 0); + gpiod_set_value_cansleep(priv->power, 0); } else { if (machine_is_omap_innovator() && cpu_is_omap1510()) __raw_writeb(__raw_readb(INNOVATOR_FPGA_CAM_USB_CONTROL) & ~((1 << 5/*usb1*/) | (1 << 3/*usb2*/)), INNOVATOR_FPGA_CAM_USB_CONTROL); else if (priv->power) - gpiod_set_value(priv->power, 1); + gpiod_set_value_cansleep(priv->power, 1); } return 0;