Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp640020pxf; Thu, 18 Mar 2021 08:28:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOUGN2N8ZOG/nlHl8HOpaOMBIPF4G5nRPrDsk2pqZaEhZHYNChhWZnvj2BuG01r63KqVpb X-Received: by 2002:a05:6402:1cc1:: with SMTP id ds1mr4253646edb.135.1616081295996; Thu, 18 Mar 2021 08:28:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1616081295; cv=pass; d=google.com; s=arc-20160816; b=ZVnnui3paC3FqS5V5StvhPRno79Bt0jBOdGPHKMKPWUxy365Km1nWlUuuWBK14EfbA XTD6O3xIB/bDS/lVKhiuoyr5tKvdoXu2lg5WbweGZhx7SVe8oS+IYNYxFk3Nzz/LlbDc Qu8VrygX1irL2PtuxxiD1idy7hNfrFjZLtNv7k1E1AJ7dk8vBS4gMco7nIUBVg263lx5 Zw1pHwqCQxUZXZv61RTvLEOWvEH3oAsb5783B4O3zjyWsXjwPHca4pETfBh+Wo3BFdNg GYm1PoXbhkbnVwrF0jcKJqseZ8lisuaRT32t+uxJwyFSSlpjbpAObrfNnAm98TcFlM2D i2Xw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=/PypgDeZ79il9LXy2KJ6Pa7QsQnDBC/QTGVcApE7H1Y=; b=s44dfAn4MNZSzg8ulZoN3QOpIggMGVhP5ipuWxvsw3SmnLeEmdmWyQ08ijUa4rqBPC rehmoL9tCAr17L2Qk36X05yd5nodG9MBm2HkSGkSm9Ph204ne6BS7pWcn+IyGD1nGsa8 YL654st78POHBiI5gY96jkzBMWnPt8jdDDV104IB2oiqUKjjPazNK827CTcSnLEe81nT 4Z32tfrR25zucna599m2Pwt4JwtSMykvoPDt5EKYM5WKxw5Dn7NQauagzmUlbu7PFFfD UE7GQLziQ0P/egeBuGWCaW14mgZbl7cmzljva01iIwVFy+HTERHHbBTmSZEZtEvRYUQl 5zIA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dialogsemiconductor.onmicrosoft.com header.s=selector1-dialogsemiconductor-onmicrosoft-com header.b=flEbIRkY; arc=pass (i=1 spf=pass spfdomain=diasemi.com dkim=pass dkdomain=diasemi.com dmarc=pass fromdomain=diasemi.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=diasemi.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k7si1715074ejs.165.2021.03.18.08.27.53; Thu, 18 Mar 2021 08:28:15 -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; dkim=pass header.i=@dialogsemiconductor.onmicrosoft.com header.s=selector1-dialogsemiconductor-onmicrosoft-com header.b=flEbIRkY; arc=pass (i=1 spf=pass spfdomain=diasemi.com dkim=pass dkdomain=diasemi.com dmarc=pass fromdomain=diasemi.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=diasemi.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231784AbhCRP0m (ORCPT + 99 others); Thu, 18 Mar 2021 11:26:42 -0400 Received: from mail-eopbgr150088.outbound.protection.outlook.com ([40.107.15.88]:23694 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231704AbhCRP0d (ORCPT ); Thu, 18 Mar 2021 11:26:33 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SIh+yV9zXFrhj+BUmXQp1UQ8MmlfixKTFimHE9mFYB7CbhyUJJoJDYb/dY+l8CWLfx4urlH6DHwHusCsSlHVrDS9qRcFOkGjLxl1sxYnkcd5pPSiIbfytD/LKj5DXNV2BLO2waP8zS6byDqtg/zPsM0KpsZeewzG43VNz6/hTis1hFpbXPyvG1LW30w7btTPgz5BIbj+usu46sCNByostvgj2/v16Il+sBBjYYtPLGZExZRhqsmQTEJajPiDbjeGfvx2y/E8aYgrbNezk/XQxl5nXWYrqvXKZGihJWVhKUGdXfDrBcrTIT9VvVjgEjdzh2ESC1wxFd0u13czAUU+dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/PypgDeZ79il9LXy2KJ6Pa7QsQnDBC/QTGVcApE7H1Y=; b=kfd36+vsMjwlFr/XPJZzWmT3AWczNlC844Ex25nkBKigng6wtfr8HHwOXXzFlNzm9ZyCYqFk/a+20KoDoy1ykrXafIovkWygU2DNcZzhcihxuONgOcmvFUUYCOatoDtxMCWpQzNYlG356c/DnXOUP1jxE5Pka0d5xyeSeenrrqTShkWNGSRJZazTF774hrJB9Rc30gCS/QIYBJ2OSvkAbTwX9tcOP7IjA8idjNLuCjH9ACp4nhBrOr0P6Zs4kBzcqxmUY/j+B45BESJTeohRChKZ1S5+D/Ybh5Cly+EkLVbF6Po3OVJq7CobVel0JtzgiCDjFuSgP1PGxQP58a+VJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=diasemi.com; dmarc=pass action=none header.from=diasemi.com; dkim=pass header.d=diasemi.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dialogsemiconductor.onmicrosoft.com; s=selector1-dialogsemiconductor-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/PypgDeZ79il9LXy2KJ6Pa7QsQnDBC/QTGVcApE7H1Y=; b=flEbIRkYDsQTMEXUcC+jUXQHSFaylnRO1R+wLPDvfj7NIFvoVp4235dmaQzoXvr/a6nKZnDNKZgfF3GGnpDlQiq62WIzywJ/GTm72pn6FSbRtWTgUp4bme/nPWg5bb/KrzO0IDkfcl9wdMA+lSizIMCzLTLOTIicpaxQbPZUJf4= Received: from PR3PR10MB4142.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:ac::5) by PA4PR10MB4381.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:106::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.18; Thu, 18 Mar 2021 15:26:27 +0000 Received: from PR3PR10MB4142.EURPRD10.PROD.OUTLOOK.COM ([fe80::7040:2788:a951:5f6]) by PR3PR10MB4142.EURPRD10.PROD.OUTLOOK.COM ([fe80::7040:2788:a951:5f6%6]) with mapi id 15.20.3955.018; Thu, 18 Mar 2021 15:26:27 +0000 From: Adam Thomson To: Badhri Jagan Sridharan , Guenter Roeck , Heikki Krogerus , Greg Kroah-Hartman CC: "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Adam Thomson , "stable@vger.kernel.org" Subject: RE: [PATCH v2] usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy- Thread-Topic: [PATCH v2] usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy- Thread-Index: AQHXG1kn097VtujeWkiKnVEPJK+rvKqJ3XWA Date: Thu, 18 Mar 2021 15:26:27 +0000 Message-ID: References: <20210317181249.1062995-1-badhri@google.com> In-Reply-To: <20210317181249.1062995-1-badhri@google.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [147.161.166.124] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 515b32bd-50d0-43c8-465a-08d8ea223307 x-ms-traffictypediagnostic: PA4PR10MB4381: x-ms-exchange-sharedmailbox-routingagent-processed: True x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1107; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XYzQp3oozvcLnMr98zmXgZFhVRAJoFTktXJjQgggCE4BRlHasN3ZSeyPUS5WebqoMYDzPVwj4OouvV7NBF0dGWRT6CW/OM2DvFFuqgAN9cVYItCHbL/89UiXvffsaeKBrPZj+VRrg/QDTnn6gxui0Cd42ttteB6YXN3IRwmWvziUoipGajfYIbn9TOyoCR4EVwyoxu94adEQWcnDj4jswO0BDh1zhlo3Rnf9KvXmI3iXkjcNtgwJTXCg5ei2Etq/MWD7HNB6zqlAtQiPEGnlFaDPXWNd6VmogzQhJbNqS0Cms9U+C2WiXOoNFNuX7T4ChPIFwFdy7im3lAqlpQtCS6ST0VNVKjE5UHKAkbDxWX3b9zIj8Yzi/2mVoXCy5xmoFrIU9my/9NvxBZszRK5oe+WTK+t/8RRQ3IZpU1JFvSlobRRQo92ru/7vi9V9x5MJ4R+4v19XIxkmiXLwAFXOyRIynUsiPrFRKJUDQcUkXbkU42b9neGYDtyHg85NsvjsxGqrymW6YKyHx926lCvC/KZ2qxkHhijOS/8aieYHF1HdETNcPpyfCpXk1gtudB4Glaw1e/KrXgMbFwy3f5QNM9FszQw9UgEFgRBbkiGj1u3Lu/LhcMAtmufvtbqdgo9G x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PR3PR10MB4142.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(4636009)(376002)(136003)(366004)(39850400004)(346002)(396003)(186003)(26005)(478600001)(71200400001)(316002)(66446008)(66476007)(2906002)(33656002)(8936002)(52536014)(38100700001)(83380400001)(53546011)(4326008)(55016002)(5660300002)(86362001)(7696005)(76116006)(6506007)(110136005)(66946007)(54906003)(64756008)(8676002)(66556008)(9686003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?am1FVHFjdnkvN2pwVk5vRGxLM3V4K3ZLV3dndkFUVjZJc1YvMlh0RmdsZmV1?= =?utf-8?B?UFpMcGpjaTdRN3g0ZWdpVzJrbEVUY0tBTTE0YzYvQUFNKzlncmpzRkZvSHFx?= =?utf-8?B?NVBiN2dDdkFGbkhlSml5SFdpOVdldWR2SHRGdmkyOE90OWs4Z1l1ZEtPRGlj?= =?utf-8?B?Z3hJTDRwVFEydFNBODlJT0VvVWc5SDZsNlZzbms3YUVINkFISmUzYVgyVmta?= =?utf-8?B?T0J6VnZJc3lVVExDeU9ndWxidGpHMjB1ZFlzakhlZXBrYVgvR1pCdzdvNXVw?= =?utf-8?B?YjBSay95b29rR0NOQm0rd05lVmdKaWRIREk3N28vWnVJMUJpSDNuaWpKb29h?= =?utf-8?B?VkFRTVZvMnZtOGErSlYwci9QRHUvTDZScHRRSmNSdFVOZnc4bUY4UTd0REJ6?= =?utf-8?B?Y0ZFWERjY040SXJLQndsc0pKeHE2NHBSNGNqa2JRblZaZjhWUmFadWJoSm1l?= =?utf-8?B?L0xOVXhoOHordXNsd21KazZJbVJlVXA2V2JoMENBcW9VcjFyamxsZ0RVQ3RR?= =?utf-8?B?Y0U0ajZyMUlVeC9JTmNKdFJBeWtabXFlN1kyTS9HNW9Nbk43OTQ1YTNsOXBE?= =?utf-8?B?dkNVb0FUK21mNkM1MndYRjJmcEd0TjNoV3ZkN0I0blg1ZUJsa3MrT0RrNjd2?= =?utf-8?B?R3dMbEdCZStadkRRV05USDErSmc0R1BNUWduczlKdlRnRVFlK0o1dm1zY29Y?= =?utf-8?B?VStRQUR6VnZMUVIvc0tIY3hCZVZHc1BuYUJBV2doY2thVkFQTmRSeVRicGp2?= =?utf-8?B?UU42eU51c3Y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nq?= =?utf-8?B?ZSs1SHlyYzF2MEw4RTIxWmhvTDhHNGhvN3VBd2lZSWV5MEhwb2Nxb0k1Y0lI?= =?utf-8?Q?YGp9rPL4O4bV8TKUEDUwVtx4v3vnl3UtAiYUK1P?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: diasemi.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PR3PR10MB4142.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 515b32bd-50d0-43c8-465a-08d8ea223307 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Mar 2021 15:26:27.7662 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 511e3c0e-ee96-486e-a2ec-e272ffa37b7c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xwkTZtiGPQe9t/LYH2eFACYpDGW9rJh/mN1EspH6Hq6NA4XKuozJSZlPY9Wj6tTLhuoqchPrJifw1JAUdi41q4NEtzlgacw7pj3L9f264Fw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR10MB4381 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMTcgTWFyY2ggMjAyMSAxODoxMywgQmFkaHJpIEphZ2FuIFNyaWRoYXJhbiB3cm90ZToNCg0K PiB0Y3BtLXNvdXJjZS1wc3ktIGRvZXMgbm90IGludm9rZSBwb3dlcl9zdXBwbHlfY2hhbmdlZCBB UEkgd2hlbg0KPiBvbmUgb2YgdGhlIHB1Ymxpc2hlZCBwb3dlciBzdXBwbHkgcHJvcGVydGllcyBp cyBjaGFuZ2VkLg0KPiBwb3dlcl9zdXBwbHlfY2hhbmdlZCBuZWVkcyB0byBiZSBjYWxsZWQgdG8g bm90aWZ5DQo+IHVzZXJzcGFjZSBjbGllbnRzKHVldmVudHMp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