Message ID | 1511284690-3878-3-git-send-email-awallis@codeaurora.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 75B6F6038F for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 21 Nov 2017 17:19:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 57ADB291DB for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 21 Nov 2017 17:19:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C52829860; Tue, 21 Nov 2017 17:19:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DCACF291DB for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 21 Nov 2017 17:19:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=KMQuGg0v6T98JS3u6BwYBph0wdZ08AW0J1gtiwPBxno=; b=axnqgUvqxu0NeCE0lwInXPWPsb kDuKpSw34DG09SwkfHaOoLkJ9WjmIlyQ2C7+3Ye9+2LG0KSYADGcTNTXAvwAQ5jlaTzOiwCjT0gjl WE41FHH/kfo00Knrl2qUMJ6z/4k2Fiz962p/2cqC/1TFIAYmijooChUZeU4iBHl9OWCD6iI+z1LrV LxyUWRcrqHoLab/6w5kSainWiV7v8bCkEFfM4kuUeBhm1zxrxRgnmuzUZGOAKUEDzzyzqaM0Q56k0 FSOIZc0bTwtlBE+TEzjtfaBdR/Qf0ucbeb7VqdeK1YQpw+E9iEDsfq0RL5JiaqrNm7S5Mb6S1bSq2 tyHQi+SQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eHCCK-0001P0-Pe; Tue, 21 Nov 2017 17:19:00 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eHCC2-00019v-LA for linux-arm-kernel@lists.infradead.org; Tue, 21 Nov 2017 17:18:45 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 61D4D6084E; Tue, 21 Nov 2017 17:18:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1511284704; bh=FBUu8FZ4kOASZXYBQm4X2+PcXkv/w+uohit7HOZDNkY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iQ5GcPtYMfn/Hr/IW/mMqd7ZOBHlKxR6rqqBIVqkvxXzeL35hpNTRrLD1pkQOq8Jg OFDREI3LnLpVDBuHxBnvCaMMcXk1fzuKTwe8XKjF2dX07mRaqKtc9CUxVxFY9wgflO NM4XVjcJ0qBJnXrgXFBvsUZa4S5EABlz52KHuyko= Received: from chromaggus.qualcomm.com (global_nat1_iad_fw.qualcomm.com [129.46.232.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: awallis@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id BA5DC6081C; Tue, 21 Nov 2017 17:18:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1511284703; bh=FBUu8FZ4kOASZXYBQm4X2+PcXkv/w+uohit7HOZDNkY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bhOu+FGrfWzQ1T+8MbAwJxBRGdwauZWip58BoPwzFaPlAEjVOAyFOqIycQEYSNK4B on2Sjcepm7aGozPnVYlMFfKMbRTNhyOC6peHsfH95qbWPvl+qsIX4yW4GBWVeTFKjQ 7tdoIGNZlZEbDQsBRjdayvYHZTM6lvW2plAOWVIM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org BA5DC6081C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=awallis@codeaurora.org From: Adam Wallis <awallis@codeaurora.org> To: linux-arm-kernel@lists.infradead.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Rob Herring <robh+dt@kernel.org>, Mathias Nyman <mathias.nyman@intel.com>, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, Mark Rutland <mark.rutland@arm.com> Subject: [PATCH 2/2] usb: host: xhci-plat: check relaxed timing quirk bit Date: Tue, 21 Nov 2017 12:18:10 -0500 Message-Id: <1511284690-3878-3-git-send-email-awallis@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1511284690-3878-1-git-send-email-awallis@codeaurora.org> References: <1511284690-3878-1-git-send-email-awallis@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171121_091842_763154_5501D2D5 X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: timur@codeaurora.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index 09f164f..ea221f3 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -266,6 +266,9 @@ static int xhci_plat_probe(struct platform_device *pdev) if (device_property_read_bool(sysdev, "usb3-lpm-capable")) xhci->quirks |= XHCI_LPM_SUPPORT; + if (device_property_read_bool(sysdev, "quirk-relaxed-timing")) + xhci->quirks |= XHCI_RELAXED_TIMING_QUIRK; + if (device_property_read_bool(&pdev->dev, "quirk-broken-port-ped")) xhci->quirks |= XHCI_BROKEN_PORT_PED;
Check sysdev to see if the relaxed timing quirk ("quirk-relaxed-timing") is set. Signed-off-by: Adam Wallis <awallis@codeaurora.org> --- drivers/usb/host/xhci-plat.c | 3 +++ 1 file changed, 3 insertions(+)