Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5117530pxu; Thu, 10 Dec 2020 13:25:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+RNLr0WV3GmpHICibrB+xSMrI0YDrqdMCxTgchBh5d1letbtfXhHcZuBDV+RKV5Sa/xzL X-Received: by 2002:a50:e68a:: with SMTP id z10mr8683210edm.28.1607635559148; Thu, 10 Dec 2020 13:25:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607635559; cv=none; d=google.com; s=arc-20160816; b=yjyXaKiIQA6NsELRONc8drsIiO4cdGR3HdutNKXSX3zeJGrp4dcrKgzeQpCFDH2J4y gJ04bQCw+XWnNuvb+o8TrfqTnxMZE6cOOw1yWbyJNuSQKyNJr0cMIoBuCwPWjM0acfAb 0DymsNcNRxrDYf5NVle+VHuBu4Bgr9SrV9dhMLnWCUb/SSnJD6P1DxQ9TGkXW8PzAEU1 1s8/Py95DhVDun+4dmqNYzCb4w82UyZWaJIn3jnxuWQa0ADLZPU2BxD/4eSnMrLReiih KrcVoFoCa+pcAaRnu3S1UmsBpKCH03KO0MUAVuIeBhdmyDJcyKIJVaK1yR5XlYk8dtvI /Obw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:sender:dkim-signature; bh=veP7V/HQ/WMNQlyfeoVtrVGMlMOws8qy4woYupL/Nmw=; b=sYXssTsIWGy0xpgQc67VFMto5pPy2JAj8T18/nDqg+hQHwoGplcZDUV9nAHzTtcksw dnCLUjDnYgr8qTEUcAKKNbmZ09IL9ldYdCVNoLS9MyCls34sXSshfJvdPK19NKtw0vus 9VyiSeICNp9tNQ3c5bbCsXe+Gw7c63/PxNzV5sLZst7W51zu6FggFAAox1+s6d8ht0d6 cbdaz1OpIDfe1LfYxEZDQ2fE5zpqODQzHXZSBA8SJ6LEfW1tizoAB3RVqd4wrs+7N/7m megYqC5hwmgiMaWhGvKZEcv0ElghhoNGhSRr5ITV7qFYNa/2IIXR67eteW3B7oxzi2Zz YksQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="MrpOYYK/"; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gw26si3231494ejb.537.2020.12.10.13.25.37; Thu, 10 Dec 2020 13:25:59 -0800 (PST) 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; dkim=pass header.i=@google.com header.s=20161025 header.b="MrpOYYK/"; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404800AbgLJVU0 (ORCPT + 99 others); Thu, 10 Dec 2020 16:20:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393973AbgLJVUR (ORCPT ); Thu, 10 Dec 2020 16:20:17 -0500 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4447C0613CF for ; Thu, 10 Dec 2020 13:19:30 -0800 (PST) Received: by mail-pl1-x644.google.com with SMTP id p6so3444040plo.6 for ; Thu, 10 Dec 2020 13:19:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:mime-version :content-disposition:in-reply-to; bh=veP7V/HQ/WMNQlyfeoVtrVGMlMOws8qy4woYupL/Nmw=; b=MrpOYYK/7ABE0JFRS7dcSryaUhC0xeP4ZeAM0sES7SGC0D1PRgNaOyBZ3ObHUC4gwp oP5bWGYOQ0JKGBzkdYVBdHL2jHLkuEeLahyjG+T42LGZZL/zYdy8p4ymwEz/8ndmMYgT 0Z1IVxUjsykmnHMfpF2D3iIrhpvQ4RvPm7LxXAjHXXoublduHXwqaDqMc+Mbce+y/kQ3 1Ia/PuyeUBZuKUsSKy4IgQUGOq5C+30HRGOAW77hQTZLgjSmhAK+BofG3CWSI2yLf6KX oIPbg8FgBBc63c6gMoxdNFgyL2fKF2sqBGHL4tcYYUw8Umoke/AGO2+kQsgQCDbqbDct CTFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mime-version:content-disposition:in-reply-to; bh=veP7V/HQ/WMNQlyfeoVtrVGMlMOws8qy4woYupL/Nmw=; b=ReAcMnc/74YmXZfi7xNbaSCNAOvDezn2qOiDkjQlFPTGfJ6sxZRkx6BedyiWlyNOMd VX06XmB8w7O+SJx7X8YP1n+wIgzJ0yYT8MwscxgvZef5odT1qtPnimXA1vbEeoC4mkCw Tur8DrotxglqPEjgtINALeh4bRLHQ6RqOS/BUbEHqk+7fkBjsuvw5HBHz/isZCYpfell VPZPu2fFRGGjYDWumhH+GlBc1lxTe76SwWD2vMsWxHXTkKLHYl4MMMe4/NWxl6/pBX5L kAxaN1hmeqaIh1vMvR6DRdlzfeAzgSS4g1/xXFnDB8Et/T+mdeRVWqmzA+LjrWxOFQH+ Y9mA== X-Gm-Message-State: AOAM531GXocOD5kHPAgd4A5PW6GSs3pXy63OORNKqfcdzNo+F7/wvP29 lylUWr6EC6Xc2JZaC4EmnkEHmG5fKuLqfw== X-Received: by 2002:a17:902:22e:b029:d9:e591:7bd1 with SMTP id 43-20020a170902022eb02900d9e5917bd1mr8207935plc.50.1607635169808; Thu, 10 Dec 2020 13:19:29 -0800 (PST) Received: from google.com ([2620:15c:202:201:f693:9fff:fef4:fc72]) by smtp.gmail.com with ESMTPSA id d6sm7529353pfd.69.2020.12.10.13.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Dec 2020 13:19:28 -0800 (PST) Sender: Benson Leung Date: Thu, 10 Dec 2020 13:19:23 -0800 From: Benson Leung To: Prashant Malani , linux-kernel@vger.kernel.org Cc: Enric Balletbo i Serra , Keith Short , Guenter Roeck Subject: Re: [PATCH] platform/chrome: cros_ec_typec: Tolerate unrecognized mux flags Message-ID: <160763499543.2901204.7100892625900686343.b4-ty@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yVrKpOyAZl/IFjqI" Content-Disposition: inline In-Reply-To: <20201106020305.767202-1-pmalani@chromium.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --yVrKpOyAZl/IFjqI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 5 Nov 2020 18:03:05 -0800, Prashant Malani wrote: > On occasion, the Chrome Embedded Controller (EC) can send a mux > configuration which doesn't map to a particular data mode. For instance, > dedicated Type C chargers, when connected, may cause only > USB_PD_MUX_POLARITY_INVERTED to be set. This is a valid flag combination > and should not lead to a driver abort. >=20 > Modify the mux configuration handling to not return an error when an > unrecognized mux flag combination is encountered. Concordantly, make the > ensuing print a debug level print so as to not pollute the kernel logs. Applied, thanks! [1/1] platform/chrome: cros_ec_typec: Tolerate unrecognized mux flags commit: 6ae9b5ffcaeba64c290dfb8bd7b0194b1fdf0c92 Best regards, --=20 Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. bleung@google.com Chromium OS Project bleung@chromium.org --yVrKpOyAZl/IFjqI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQQCtZK6p/AktxXfkOlzbaomhzOwwgUCX9KQ2wAKCRBzbaomhzOw wl+9AQDtNgbLb6KigLYvd9ZXuEika2vo5LaSBM+GhRd9QfppaAD/VK4Wm6MRllrI IAsoZyE61V82JOs6beS+ybDWODYMvAc= =tfHu -----END PGP SIGNATURE----- --yVrKpOyAZl/IFjqI--