Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2097051ybl; Thu, 30 Jan 2020 11:18:10 -0800 (PST) X-Google-Smtp-Source: APXvYqywUUtrlLjyeSkuUCbZbvAd08/JV71WZeAzU9xcqoc9dtaM52zwjLwpa0WJaXHjuA5EsUx/ X-Received: by 2002:aca:5746:: with SMTP id l67mr4046358oib.60.1580411889789; Thu, 30 Jan 2020 11:18:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580411889; cv=none; d=google.com; s=arc-20160816; b=Apav5xfMgkP9yTgG/DVyxNPm4yOGw8u5+akCd1kZzl05notDXvB7ZHJ5u/8bjvhUOz 2cMKvmOxjtnFQ1Tp2MSWXvHgI58G5XRbuJJCdzzWrMctNjIbfMV01rcKxx4klURph59h DS1v7L/fysYX9zBIrO2YYPRj8vFGV432raWHisdK43xCjqlFK6o+6qI8kLkBmCRDsPT8 /sa+bgTG9/VxcWLe8Ph+MoM6zdSlEOuCEkKwdKIzjYLGDvbJ5+YMXIHASj+KjXngtjcs k7biLiRpeZSOSKiIAzi68i3K4yPDsoElYCoMy76S7Zp3tlH6aRQtISTfPjG8Hd+vFCGK tC+g== 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=qPoDknZTMCH4xmfmmisQMaO3jeU6UOlI0wP7OWYSNDY=; b=Z71PIUmCBLN3pBzozTcdpBYRXS2BZH2AC93NMEKB8fPjYVntGelwY56y/k3kZP5+Ev K8DVqEHNvyLAtB1eyP6mMa7Rg59LC38/VxGq0PIJeOfc/DwP1PRpKFZV6p4RdOoiFClL XLuRqokzSSDSe+Hk5oU702Nz65Oo5x75k7g+5rO6eaiGfwn6GbBlIwYii35Qn30Aw0m+ OSHYwMOBu/ddeLXdLJXkzv+8ECJaTLiYDqlFzuAWlpb174mY3wWXsfzcWmUGiX1LAc3n +3vKD6EqdUh311lb7qvOVXl/CbMkbVXxEA85dSA3RQYgP8WOKX43Iu8eTb1kNuDIqmzN 8txQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SQ5ZqOys; 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 o1si3554957otk.154.2020.01.30.11.17.57; Thu, 30 Jan 2020 11:18:09 -0800 (PST) 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=SQ5ZqOys; 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 S1730743AbgA3SoA (ORCPT + 99 others); Thu, 30 Jan 2020 13:44:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:52888 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730725AbgA3Sn5 (ORCPT ); Thu, 30 Jan 2020 13:43:57 -0500 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 587E2214DB; Thu, 30 Jan 2020 18:43:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580409836; bh=UGgShfD6ZVGUoofdDk7TTAKKPgJ/LDgem8dtriwzlOY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SQ5ZqOysIjMzUx8BTDlMsMvv14JEKPASl39kSUMQ1s/XDTeq2uUqxPAmACvzl+UXO PHG5LQ5SMe1aGOaKxqRm6aPvRBJ5mxRxcMFNmpd6OAJidLidiDQor8mRo7r2j4nWtR Eqilz4KEaXAaKwH65vC+Pxw/4scSZOkE4zwRN0Zo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Thomas Hebb , Heikki Krogerus , Guenter Roeck Subject: [PATCH 5.4 011/110] usb: typec: fusb302: fix "op-sink-microwatt" default that was in mW Date: Thu, 30 Jan 2020 19:37:47 +0100 Message-Id: <20200130183615.626808068@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200130183613.810054545@linuxfoundation.org> References: <20200130183613.810054545@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: Thomas Hebb commit eb7a3bb8c955b3694e0e0998413ce1563c02f90c upstream. commit 8f6244055bd3 ("usb: typec: fusb302: Always provide fwnode for the port") didn't convert this value from mW to uW when migrating to a new specification format like it should have. Fixes: 8f6244055bd3 ("usb: typec: fusb302: Always provide fwnode for the port") Cc: stable@vger.kernel.org Signed-off-by: Thomas Hebb Reviewed-by: Heikki Krogerus Reviewed-by: Guenter Roeck Link: https://lore.kernel.org/r/0da564559af75ec829c6c7e3aa4024f857c91bee.1579529334.git.tommyhebb@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/usb/typec/tcpm/fusb302.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/usb/typec/tcpm/fusb302.c +++ b/drivers/usb/typec/tcpm/fusb302.c @@ -1666,7 +1666,7 @@ static const struct property_entry port_ PROPERTY_ENTRY_STRING("try-power-role", "sink"), PROPERTY_ENTRY_U32_ARRAY("source-pdos", src_pdo), PROPERTY_ENTRY_U32_ARRAY("sink-pdos", snk_pdo), - PROPERTY_ENTRY_U32("op-sink-microwatt", 2500), + PROPERTY_ENTRY_U32("op-sink-microwatt", 2500000), { } };