Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp895744pxb; Tue, 1 Feb 2022 12:40:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJywBZOCj/FBjFsfkiNqMLrQDQfGXAsyHRqc/9bybmJ3evu0oacD8wk/Ei9Q4UCLBZjW6zOG X-Received: by 2002:a05:6a00:1a86:: with SMTP id e6mr27055858pfv.2.1643748010710; Tue, 01 Feb 2022 12:40:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643748010; cv=none; d=google.com; s=arc-20160816; b=ZS/oDcm+pRePMaqWwlke/O3VZZrVQ9liclPeBHcL9VvgT+CKpCs1VP7I/CyTlkYzFi VnuhDDnydjQJwMMV60KF5rjNCcpdMC+rW/r2q3ZcGsmEoCI2Vzhh/WSkpoTg5pY5IDKE m1Sla2q9iRqr5BfUxlbtuaD4YUxpLLcB0OLibm/LQawoxsudMp8lj/LQkYVYX87ktLd2 zwo4Uv2TkKpH5Im3bSo5H1g2OrHew0OV1Zkdk8LSbxT3S4aUPhixEFD8SI+T2yVGlwZ4 /SYB5QqNYH1h2Zarcd9O7x5pHU8DDU76X3RXA4Cl6qGWdM4yzdPtxl4yzoG2hJDt49wG GnSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=FwSKUBHfn7G5FA/17ETgacxb/MnZjFV52gg3dpXkEdI=; b=l7dOrB+l+9PuuqG8Up6NZ4jxzvPRT1/w178aygzLRc7viv2NTx1IFjwc5maNjRq0Hm ZvglAxDf4IZHj7cICUhQNrB8rlMzXCnq0JBx9vCn1BQhtgP/9Qheq6RpMYUhrM2Lj4fT WOIrsiMmvXvyCsjfo3w7aZIT3aeXgH+EnCfZSvk09rwO3cHKT1XJCvOAIvewLQ5/ztKn tVYfZUZRlY5xBvf2gpz931rDTm0C/cmah7VHSIkGFWJAJBrwFlUJV560qLXMYU/MjQL9 jLlwTe4dnZ2eIir0hN/hnydHt4zxN+VhRs6quZJIchP7ZMupP2ENDm6wLSeVeniMO/tI RNWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZSYWLNdv; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j13si17760589plr.416.2022.02.01.12.39.58; Tue, 01 Feb 2022 12:40:10 -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=@intel.com header.s=Intel header.b=ZSYWLNdv; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379248AbiAaN5S (ORCPT + 99 others); Mon, 31 Jan 2022 08:57:18 -0500 Received: from mga04.intel.com ([192.55.52.120]:14208 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379236AbiAaN5Q (ORCPT ); Mon, 31 Jan 2022 08:57:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643637436; x=1675173436; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=CKPciRVFSEV+M+vvJu9GWn/BBoXrj3T+pfeFI1+Xq5M=; b=ZSYWLNdvSUXEEWgzZI1B3seBcpVVADG5w1pDZ1dkZR9ORDSGEOuasEaX ImLbWrHz02ZVBBrkapBSfC2NbkuZqA1bWn4yNte/XqUb+rOx7UfWS57YI sBnMQd32woKoVyddBYNWPiDBdQbqvfuz7IiFQ1U+KONDZM+wdLX/12Fgf 8JJ1a1lOU1HLEI+868kkFnLa9jSQPv3jmkTC16mbgaHBEbO4tEw1MX59i tNBgymmR2Pzw5VOZ/4/sRJelnshamrpLyWjlXDHffF/d1aZFlO4+y9akW mvENqCwgGgoUpfBcmAcABP2OSWXfOd5+xxtOiWcYb5M5XUeZP6hwwEgKv w==; X-IronPort-AV: E=McAfee;i="6200,9189,10243"; a="246295736" X-IronPort-AV: E=Sophos;i="5.88,331,1635231600"; d="scan'208";a="246295736" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2022 05:57:16 -0800 X-IronPort-AV: E=Sophos;i="5.88,331,1635231600"; d="scan'208";a="630025734" Received: from smile.fi.intel.com ([10.237.72.61]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2022 05:57:10 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1nEXA7-00GtBn-Al; Mon, 31 Jan 2022 15:56:07 +0200 Date: Mon, 31 Jan 2022 15:56:07 +0200 From: Andy Shevchenko To: Hans de Goede Cc: "Rafael J . Wysocki" , Mika Westerberg , Mark Gross , Andy Shevchenko , Wolfram Sang , Lee Jones , Sebastian Reichel , MyungJoo Ham , Chanwoo Choi , Ard Biesheuvel , Len Brown , linux-acpi@vger.kernel.org, Yauhen Kharuzhy , Tsuchiya Yuto , Fabio Aiuto , platform-driver-x86@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org Subject: Re: [PATCH v4 18/20] extcon: intel-cht-wc: Refactor cht_wc_extcon_get_charger() Message-ID: References: <20220130204557.15662-1-hdegoede@redhat.com> <20220130204557.15662-19-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220130204557.15662-19-hdegoede@redhat.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 30, 2022 at 09:45:55PM +0100, Hans de Goede wrote: > This is a preparation patch for adding support for registering > a power_supply class device. > > Setting usbsrc to "CHT_WC_USBSRC_TYPE_SDP << CHT_WC_USBSRC_TYPE_SHIFT" > will make the following switch-case return EXTCON_CHG_USB_SDP > just as before, so there is no functional change. ... > - return EXTCON_CHG_USB_SDP; /* Save fallback */ > + /* Save fallback */ I see it's in the previous code, but what does it mean? I would read it as "Safe fallback", bit I have no clue. -- With Best Regards, Andy Shevchenko