Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1113962pxy; Fri, 23 Apr 2021 00:01:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxCxBDdgeiz6MoZBl7P+LtXNaFAKwgwl1DZnVqx3C1nF0Z9hsQOkurq945toGzdMXDoU6R X-Received: by 2002:a05:6402:2219:: with SMTP id cq25mr2681563edb.60.1619161276837; Fri, 23 Apr 2021 00:01:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619161276; cv=none; d=google.com; s=arc-20160816; b=DtC7PHpYeTZi/XCbXP17UAqyMG6wX1iSso4KgG95MZMYQrzD53Hgwhrfu65eBw9xg7 +SYFg9PxgaFgNksSwondYCHyIJrIvmQ/Ugb2YBStXyN36czgUOmsW5LVMZE8QfYNMHpj o1V+lfnMqNrngumBpbhtGj6DtxTyPW6PoVlR4mu9woXttRpjiMUssx5K2QI3ndaGu4Bc g7057m9FKuYuMTATUziIi271Gjwy++7ody+781VSZnXdugQP9PeyG8RQRzXWf3ad1YhX DHUIQ0RI/ytihwkH5YFstgeo/3WIyzyFV/0Gvk+YlbH6ovYDVHKSiFkNspP/fWbXAeeA jQjg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=GCViCEmO4uCzzuooEpvbmelrbilAYndb/oUXFDKNQtQ=; b=tWKrk1KQQXx58Y8ZymekIzpydK/gkQXISsCIvSupsaaUZTo3wwGQv4+utV5+eeuQAe 4myFgXq2on3oRD5vGI3FW3X5yj893ztCfJLqFKZ71oZS3GarvKS3xrwWPQZ1DR1xXPKP tIjvtvJGT5ufWQSaIIWQTyJt9KKPce0f2A+PVkRH5pplJzT5sv+aWrgAFWHjxM+YC6VP PLV0mvagaVQxfgAaqwz+ReHTc7Jhfpf2xlyvVthH6RgP/0ebdhpLouecnJZY0wHVkBIu YhzVSoTlEMKHH9KxN5F4AcFrvk79xLNl/Ta2KwZ53ruN24QupXkbe+lo9vVxWQLGEt8P G7OQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dc14si4665365edb.354.2021.04.23.00.00.52; Fri, 23 Apr 2021 00:01:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240931AbhDWG6S (ORCPT + 99 others); Fri, 23 Apr 2021 02:58:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240903AbhDWG6Q (ORCPT ); Fri, 23 Apr 2021 02:58:16 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D53DC061574 for ; Thu, 22 Apr 2021 23:57:40 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 707B11F437FD From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org, Prashant Malani Cc: Guenter Roeck , Benson Leung Subject: Re: [PATCH] platform/chrome: cros_ec_typec: Add DP mode check Date: Fri, 23 Apr 2021 08:57:28 +0200 Message-Id: <161916102147.2605538.14826236313403198205.b4-ty@collabora.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210421042108.2002-1-pmalani@chromium.org> References: <20210421042108.2002-1-pmalani@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 20 Apr 2021 21:21:09 -0700, Prashant Malani wrote: > There are certain transitional situations where the dp_mode field in the > PD_CONTROL response might not be populated with the right DP pin > assignment value yet. Add a check for that to avoid sending an invalid > value to the Type C mode switch. Applied, thanks! [1/1] platform/chrome: cros_ec_typec: Add DP mode check commit: c5bb32f57bf3a30ed03be51f7be0840325ba8b4a Best regards, -- Enric Balletbo i Serra