From patchwork Wed Mar 6 13:25:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10841105 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D64A014DE for ; Wed, 6 Mar 2019 13:25:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDFBD2D95F for ; Wed, 6 Mar 2019 13:25:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B19E12D96E; Wed, 6 Mar 2019 13:25:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6B4982D95F for ; Wed, 6 Mar 2019 13:25:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=tYWrqp5/98E4uvSDr7f942zKO/bL2V83my0rr8R5JsM=; b=Fefd2pI2yTCoY3 a4fkLZUcPaAxYIOoMwy25BYe3KhqgdKUvd2CL2nXmwupCU68TI8j0WSMheGQ/Si7MaYSI/faYOy/e 9zTbo4sXm0Q5LpSgYyW1kbaWDyAvzpWek2nvvokkn1VB8sGF/yW5y7PWm9Ng54BFHdltaYV4zSPOE GR4Z9MJxU+YE4fO6ttemyQ00UrCx/PlNJKPFAFVpfOSA1WSebJJdmQFs/vGugrX3KkJ9tNWtzavaA 9y+bx1JWWdlfiyH4CaXl2BodchAejr81yIg5/d26yZyUk46eIZPyWORwKQaPbQIwkLxyO7BSzdT9x 57RKrCY4eFkqDd8n5ZdA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1WXt-0004yQ-FC; Wed, 06 Mar 2019 13:25:17 +0000 Received: from mail-am5eur02on0609.outbound.protection.outlook.com ([2a01:111:f400:fe07::609] helo=EUR02-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1WXr-0004wD-48 for linux-arm-kernel@lists.infradead.org; Wed, 06 Mar 2019 13:25:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BKHpsWHJThNKnccOgI2vAeUo2lIeMcrJTVautpj6G6s=; b=VfQgKCFmWCq/somXp2MNuu3DelezDnJfccBblUNd8MMR7tnj5nf2eZ6bghBcZYwtYv36hNjKW91A34HXUBGX6H0ZaCl5pmTpDxNzBbvFME+Mk2dcG/hxmYEYhqlQjDMsCEFAstKq3/1bhreM4DdtK9YyQdFkBMfHyFe+mHQdOAI= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.92.158) by AM0PR04MB5345.eurprd04.prod.outlook.com (20.178.112.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.18; Wed, 6 Mar 2019 13:25:08 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::50ed:d1b5:c043:3b79]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::50ed:d1b5:c043:3b79%2]) with mapi id 15.20.1686.016; Wed, 6 Mar 2019 13:25:08 +0000 From: Aisheng Dong To: "linux-pm@vger.kernel.org" Subject: [PATCH 0/6] PM / Domains: A few clean up and minor fixes Thread-Topic: [PATCH 0/6] PM / Domains: A few clean up and minor fixes Thread-Index: AQHU1CAEKlYgFBsSGUOdkoHgGqS0Nw== Date: Wed, 6 Mar 2019 13:25:08 +0000 Message-ID: <1551878302-8146-1-git-send-email-aisheng.dong@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK0P153CA0009.APCP153.PROD.OUTLOOK.COM (2603:1096:203:18::21) To AM0PR04MB4211.eurprd04.prod.outlook.com (2603:10a6:208:5b::30) authentication-results: spf=none (sender IP is ) smtp.mailfrom=aisheng.dong@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c08badb1-d0c1-429c-dc03-08d6a2372705 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB5345; x-ms-traffictypediagnostic: AM0PR04MB5345: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; AM0PR04MB5345; 23:8v32F1Qyx1Oe8N8UuIafWWppWJH5rwAc6fDfX/Y?= =?iso-8859-1?q?XFWqPPT5uFkNcU6?= =?iso-8859-1?q?0sNbbwE7Xrk11w3g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1R2mt6fQQNrq?= =?iso-8859-1?q?43vIWEaqMp/FMF10vT/WkRaS5XHHvY9refbvfirUYweOpVPL84hJmEMfXmeD?= =?iso-8859-1?q?W1FLj+uy/KxemG7GdJ4y8UoReExARrKUYAk1gVx0T6n9Jgp6gVMHqFuIacFx?= =?iso-8859-1?q?9SrMXOqL/1vTeRHsKYr9hVGn1+tRTJQn4x5KILIkskjtbxC36qGv8iwEOlzp?= =?iso-8859-1?q?H7ElycUNRcim6PUErzDDn0QYGCikosQRZQTEeg19oZWKglF2af1ZOtS9tgP8?= =?iso-8859-1?q?23tc/hH5DaQllnpRrYszWhh3iSonzYZ/vM9f5Lq5zOQg=3D=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 0968D37274 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(136003)(366004)(376002)(346002)(199004)(189003)(316002)(4326008)(44832011)(386003)(486006)(2906002)(2616005)(54906003)(476003)(6506007)(68736007)(36756003)(52116002)(186003)(105586002)(2351001)(4744005)(14454004)(86362001)(26005)(5660300002)(106356001)(50226002)(71200400001)(71190400001)(25786009)(102836004)(8936002)(305945005)(478600001)(6916009)(6436002)(7736002)(99286004)(8676002)(66066001)(5640700003)(256004)(6486002)(81156014)(97736004)(3846002)(6116002)(53936002)(2501003)(81166006)(6512007); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB5345; H:AM0PR04MB4211.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Np+IrCHO0wxMB1YA1+JuGB6dEzG+M68sfbzN1OjlZykcf0U0nEBNr+x19V4XgtfceKzDiZ/cpBG4TiyPwKKNYPQ0pcasWvrE6y3v9hK0PvlK2NlLlz9DM48bYoAVMH34h0fVsFxcKyJoyT7WTYZhCE02ju4BLdo07jkkshX0L5xYYRcCYKWXFLNa7fB407wdCa1+RZIziH+8lCq9A86KxHWphb0TsOOq1qPwXQ8ULFSmjyDfZH796m9AkHtg2wtFXKfIjIkBzVwqiJElgFFRaQihAmJrZI4QPb0Tq7qmyxuFxf6yMUbqLSCgpd0pbuG7T85BuhsnP2U052iyi8ZyIK2MwQyNcnVgfwcmI+w9w5LsCf/BBgDhCgIkDYQ9XPnXVm8Z89t/QIQCN5zjmS82Hn25EQsDS6RCrElM2DcDkPU= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c08badb1-d0c1-429c-dc03-08d6a2372705 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Mar 2019 13:25:08.7374 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5345 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190306_052515_177233_C65346D5 X-CRM114-Status: UNSURE ( 7.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Aisheng Dong , "ulf.hansson@linaro.org" , "dongas86@gmail.com" , "khilman@kernel.org" , "rjw@rjwysocki.net" , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP A few clean up and minor fixes Dong Aisheng (6): PM / Domains: Improve warn for multiple states but no governor in genpd PM / Domains: Return for all error cases in _genpd_power_off PM / Domains: Remove the unnecessary ->power_off() check in genpd_power_off PM / Domains: Move the Subdomain check into _genpd_power_off PM / QoS: Fix a typo in file description PM / domains: Remove one unnecessary blank line drivers/base/power/domain.c | 44 ++++++++++++++++-------------------- drivers/base/power/domain_governor.c | 1 - drivers/base/power/qos.c | 2 +- 3 files changed, 21 insertions(+), 26 deletions(-)