Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp566058img; Mon, 18 Mar 2019 09:15:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqwpmIHUmAwYlC8XmoXmIzR0vRq3OYl+R1JMpAjrIr5tCZER5W5hC6O8xQYLHYqrApcV/S6A X-Received: by 2002:a65:6210:: with SMTP id d16mr18435067pgv.189.1552925704795; Mon, 18 Mar 2019 09:15:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552925704; cv=none; d=google.com; s=arc-20160816; b=SiGK7u3tuPuhsZQ58FEsOUF0viHOGVODPTA1h2n3LqcPj+QnQcu7QehJJBmK85pCSN fRd3HShS76EKZA05kccv5uAckLKC/ExSA4AeT5MapTliOGw7RZAH9WkejuDgW9j+ox52 JtVFyFPu9CEVto8ZgkrAGLrsnuROx17bXuf4x7cJzeeBJPKgjO0d/dZnjO5r+ItmU183 VmJSDtKMkg5Jc4VFjOpiqoBBnmFjuPhGNxEVJ/jisTtD8fz5PyAOaE9FjCTmXD1cCvD4 Myf700z0p+pXTNVmxZV1e13EtwMnqKucwxqo4WuJGCupRjE+7KZm1DxTGNTeBBB/K/av sqMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender: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=9qBBR9Q9JdWBkHGFDEPqutzMbjKZDcWBcsYwieMev0Q=; b=iAWHFCmZK0p9q1Ok/h5Xrb/qsBhzfmrZuB1lMu3lIoCJXZKNHbF1iOq3PMkLK2bWkZ hG3aFzkc4lD1vWXQSSo+9T0h7awV8RZdEYEpT4wgl51SLIYXm07WmQoSs1YeyW2w9P5k CZ0Kn/VJf5ie22kTsgFgeRFQqN0xT0npn9NfwoiOgYGq/a4uEVHOENFcE8zlr05NRdD5 ajnlXI6plswFoVK7dXECT2HD+YCwWuZG8u6bVXGGQe96OD9wgCDPN67O9rBsvVdXIB+6 g9nzX4mQ5r6FMtmfnQUby5NHM53TiN+znP0ArcnxVeIIQDKqCSqWTbnV3KzRY+EonaGJ xNUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dialogsemiconductor.onmicrosoft.com header.s=selector1-diasemi-com header.b="XFXX2Xf/"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=diasemi.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p9si9447335pls.151.2019.03.18.09.14.49; Mon, 18 Mar 2019 09:15:04 -0700 (PDT) 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=@dialogsemiconductor.onmicrosoft.com header.s=selector1-diasemi-com header.b="XFXX2Xf/"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=diasemi.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727485AbfCRQMO (ORCPT + 99 others); Mon, 18 Mar 2019 12:12:14 -0400 Received: from mail1.bemta26.messagelabs.com ([85.158.142.113]:57252 "EHLO mail1.bemta26.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726663AbfCRQMO (ORCPT ); Mon, 18 Mar 2019 12:12:14 -0400 Received: from [85.158.142.194] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-2.bemta.az-b.eu-central-1.aws.symcld.net id 67/1C-06417-F43CF8C5; Mon, 18 Mar 2019 16:11:59 +0000 X-Brightmail-Tracker: H4sIAA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dlYu1UlO+t81LRejdtNjG4WZrMzvwBSjYkQ4wMAAA== X-Env-Sender: stwiss.opensource@diasemi.com X-Msg-Ref: server-19.tower-239.messagelabs.com!1552925519!2732681!1 X-Originating-IP: [104.47.8.57] X-SYMC-ESS-Client-Auth: mailfrom-relay-check=pass X-StarScan-Received: X-StarScan-Version: 9.31.5; banners=-,-,- X-VirusChecked: Checked Received: (qmail 4544 invoked from network); 18 Mar 2019 16:11:59 -0000 Received: from mail-am5eur03lp2057.outbound.protection.outlook.com (HELO EUR03-AM5-obe.outbound.protection.outlook.com) (104.47.8.57) by server-19.tower-239.messagelabs.com with AES256-SHA256 encrypted SMTP; 18 Mar 2019 16:11:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dialogsemiconductor.onmicrosoft.com; s=selector1-diasemi-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9qBBR9Q9JdWBkHGFDEPqutzMbjKZDcWBcsYwieMev0Q=; b=XFXX2Xf/rzFhwWnqb/Xv7zMqsFvRH5+mPAItLr6SQaKPnWqNjiWvXlpiQlPBKf75hyFhcKeG/KW50GpvgFsDlyTG75C8nhh4Q0kXq8zEBXH7m/3jIKsrVlDWWN2RgNLkdZp0ckqVTnkaXmjiUv7CbGqiT9/t8MwMELUTNqa9IPI= Received: from VI1PR10MB2352.EURPRD10.PROD.OUTLOOK.COM (20.177.62.92) by VI1PR10MB2720.EURPRD10.PROD.OUTLOOK.COM (20.178.127.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.14; Mon, 18 Mar 2019 16:11:58 +0000 Received: from VI1PR10MB2352.EURPRD10.PROD.OUTLOOK.COM ([fe80::e426:c8bc:d222:5cd7]) by VI1PR10MB2352.EURPRD10.PROD.OUTLOOK.COM ([fe80::e426:c8bc:d222:5cd7%4]) with mapi id 15.20.1709.015; Mon, 18 Mar 2019 16:11:58 +0000 From: Steve Twiss To: Dmitry Osipenko , Liam Girdwood , Mark Brown , Adam Thomson CC: LKML , Maciej Purski , Support Opensource Subject: RE: [PATCH] regulator: core: fix error path for regulator_set_voltage_unlocked Thread-Topic: [PATCH] regulator: core: fix error path for regulator_set_voltage_unlocked Thread-Index: AQHU3aJihjsaU6EEr0CeM4yEgE+XmqYRjPCAgAAAOnA= Date: Mon, 18 Mar 2019 16:11:58 +0000 Message-ID: References: <20190318155054.59B483FBD8@swsrvapps-01.diasemi.com> <513a7028-b972-a821-7bf1-0e105bf71305@gmail.com> In-Reply-To: <513a7028-b972-a821-7bf1-0e105bf71305@gmail.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: [193.240.73.196] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0f20dec5-bf79-4ba6-ca3a-08d6abbc72ab x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020);SRVR:VI1PR10MB2720; x-ms-traffictypediagnostic: VI1PR10MB2720: x-microsoft-antispam-prvs: x-forefront-prvs: 098076C36C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(39850400004)(346002)(366004)(376002)(136003)(199004)(189003)(81166006)(99286004)(81156014)(8936002)(105586002)(71200400001)(5660300002)(316002)(6436002)(71190400001)(52536014)(26005)(110136005)(54906003)(106356001)(102836004)(14454004)(7696005)(33656002)(97736004)(6506007)(53546011)(86362001)(76176011)(229853002)(446003)(256004)(9686003)(66066001)(68736007)(2906002)(478600001)(11346002)(305945005)(186003)(7736002)(14444005)(476003)(4326008)(53936002)(74316002)(55016002)(486006)(6246003)(3846002)(107886003)(6116002)(25786009)(8676002)(6636002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR10MB2720;H:VI1PR10MB2352.EURPRD10.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:0;MX:1; received-spf: None (protection.outlook.com: diasemi.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: hjTIMNZzB/0KfOdm06uVBvg3+OSd4rSCpRZwLHZj4qtTwmLRef9i8j9Xxqu5mAQVdZ/wXCH+m4h1AMV2FMbaxhec/z/qRr1sDYFfJB81zGKTN+uK65VVyNM4rSBID/5OqyuRTj9CFabrRvNx8P+mMJGJjgg06qmBHCwhBvMWI1gJKs8VYAVV8UgLGZRVol2ePuR/2Ywxgz+jbaPUShj2y0l7/WUaVNC4DArkDnjIe5nvYUervF8Jnr8GtgzxxyMrm/lvYiWmJ9JeUASlZfdePQXc56iJt4/93IbzdPWsTYFOALqdiTLWrzkNBmE5GL1LUs+14JThOCM8f7PfKj8ixYkI7TU3FDvQRf1wRDHCXt4IgIgP6qSoGN415RK8xpIAUXqMCKWZKljkgBv61Mod30POs42kEDx3xip4Y+sJ2Qw= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: diasemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0f20dec5-bf79-4ba6-ca3a-08d6abbc72ab X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Mar 2019 16:11:58.4565 (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-Transport-CrossTenantHeadersStamped: VI1PR10MB2720 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRG1pdHJ5LA0KDQpUaGFua3MsDQoNCk9uIDE4IE1hcmNoIDIwMTkgMTY6MDMsIERtaXRyeSBP c2lwZW5rbyB3cm90ZToNCg0KPiBTd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