Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1172605yba; Thu, 9 May 2019 11:58:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqyPfl6qISNhhN+2WlXwQOigaWfohEmnhaftix1MJCvHehbCvMU/IStP7DLM3uunsccJnxCK X-Received: by 2002:aa7:8acb:: with SMTP id b11mr7651397pfd.115.1557428317936; Thu, 09 May 2019 11:58:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557428317; cv=none; d=google.com; s=arc-20160816; b=VDQhePi7R9LWjOaCvaHfZkRS4m8mGQGUnciTLHpPDjdF7BcJgHtRYoghAMwMmP+ZjQ QDB532j7mBaU3iSXzAM8PEK76HYzda5rW6X7qd/eE5OZKTChhxjn64TYnJab3BYV1t1C daY1HV/ZyOVrE7EH6/j69C6WfW4hb0pkLZEMMtmlZ5odUjq0HRM3g8yE5yNWETbI4M8L 7HTk5qp42mlO0gJWLPxj/bcKYUSLZYzQ+dqBA7mpTy4GfNhzbHzfp6oVMYtXB+AfPEWj gFIucL8Rhm+G3VpfEM0pcswbgCtbxD0N3zrEiccwDg6ULbuqvADy9NYeDN/guAlPJD4C /4yg== 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=3O5lIahZ+F58p7amNiXKDqs18yL/cOr4+lXGHs72FIc=; b=NEbC2STTbFaVbi+seDhzQN4aQtURKOfCHjTOuYiSKy6n0wkfh1I0jij1NZc3y5Dgxz x/uQlgJppVgz2uxrbJP4Qy08oqAPbIA45pq42uV8/A33EpFb3OueJO/eof4kh5zWR+Lz 7sQ7BGJF2d5jcCuDVdv5DsY25zHFfdUbJ8x0t2jwaCl3f01WDV7WCeg/x1s5SgFyfKnc DgkPqi5eiHK1tZJ+IYL/cO1OTabUWKM4Ldb2cBC7NLN60ipMGg5DNGrXpaP8du1cFAzu GB0+5mOMUZSwXQRqBBT1y05vbUTq+6mHl55KlkMj4IYiEgW+XIpLTk26kMM2PKGmAiN4 wUrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o+DjTKgO; 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 o5si4440732plh.288.2019.05.09.11.58.21; Thu, 09 May 2019 11:58:37 -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=o+DjTKgO; 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 S1729208AbfEISzU (ORCPT + 99 others); Thu, 9 May 2019 14:55:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:50326 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729198AbfEISzQ (ORCPT ); Thu, 9 May 2019 14:55:16 -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 ECB47204FD; Thu, 9 May 2019 18:55:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557428115; bh=WSRye4QuqhDnD0KzcvLyhshoPeuDaJR9wrkaZyoDOMA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o+DjTKgOJ+OxL9eKvzy7o4M/kA6kBdEYT6JYakj45OZZCb7EVGVwvVW+XNm/vccMq QCrHPH2U7o7plbzwRodFIPYyP+iG8UUHC45WKglZUTaHbfBugDftfqA+0eqoV9dTS8 LpWcfrnDql+CgRENouQHyJCsyxqP3bHSjIhF6UKI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Thinh Nguyen , Felipe Balbi Subject: [PATCH 5.1 08/30] usb: dwc3: Fix default lpm_nyet_threshold value Date: Thu, 9 May 2019 20:42:40 +0200 Message-Id: <20190509181252.423027909@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190509181250.417203112@linuxfoundation.org> References: <20190509181250.417203112@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 From: Thinh Nguyen commit 8d791929b2fbdf7734c1596d808e55cb457f4562 upstream. The max possible value for DCTL.LPM_NYET_THRES is 15 and not 255. Change the default value to 15. Cc: stable@vger.kernel.org Fixes: 80caf7d21adc ("usb: dwc3: add lpm erratum support") Signed-off-by: Thinh Nguyen Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- drivers/usb/dwc3/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -1218,7 +1218,7 @@ static void dwc3_get_properties(struct d u8 tx_max_burst_prd; /* default to highest possible threshold */ - lpm_nyet_threshold = 0xff; + lpm_nyet_threshold = 0xf; /* default to -3.5dB de-emphasis */ tx_de_emphasis = 1;