Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp4176056ybt; Sun, 5 Jul 2020 20:15:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUKjScKGoAi6hLyRmgamKypOQrRPrvBrWGiclhgGxYRnzi9+0DogjgTscvG1qB2h8p5pHn X-Received: by 2002:a50:f702:: with SMTP id g2mr54142163edn.348.1594005302848; Sun, 05 Jul 2020 20:15:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594005302; cv=none; d=google.com; s=arc-20160816; b=VToSfn0lmMMIIC2OGkOBXd5uzEx9XDqpIbeTuSOAjAQOj8eHNDnc/KLTP5WPEXvZgX Kk0MwJQJR1ELR5b3lJoh4mbIL1OkmWahni8UkvMXBobyS7UjSGoUC+yjuX3uT1ypTft1 LqkDT9Ez9k9M1VvTysou1mId8FLR+YXY3wJLglw+tdA3c/VK4yPbwEqazaHJZpJPnAXd Xop9wCQwCkYDjhr/7gT2mBEbSD6F13NSwReavGJ6gRtZylafi4uzTrMK5vX9SiIFc2XG 2gjQ4SWRIcsfPO6G73EmIQ8rykI14eXLdR/A+ThCqNWLq7UN1Fz0Zmi8Xu12uGFZ1WyZ TXRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pKniBVcACW/1c0nv/+i0UMEccnPGSztmdOgnnm5URG0=; b=Ou1CVke5JSOQp64mfHd5Nt07JXyZoc4iD/G5pLSmB4d9BjsLHzkz6JAPyEZhJt54pt Wo+XaBt7Fve+qSKdyOLPQvePegIO5EmPCBo5KAM4O8t/4bXr+E4jHXjuE1YlpbDlJ7cU kqg8MkvynVTOwNy69aW2E7yj+nVrOY3LdVrGRNm/hk/JJeMbn8JvSaDHoiTr2viaLyBy at8JJ8sbJ2MobiTSLEKXA+QrrMDi5r9sDoqcKPyclqYXVfu0gGL7KSnMkY5INYUq7j0s ksbKJ1FmR1CMPgmHXyzKQA/xMXWVhTdwmephxNJ63bXkHTJTX1Ws6v5oxqOLroSiiAvs bjcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=IVmYEUN3; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p4si12530749eju.447.2020.07.05.20.14.39; Sun, 05 Jul 2020 20:15:02 -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=@mediatek.com header.s=dk header.b=IVmYEUN3; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728722AbgGFDNf (ORCPT + 99 others); Sun, 5 Jul 2020 23:13:35 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:22431 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728709AbgGFDNe (ORCPT ); Sun, 5 Jul 2020 23:13:34 -0400 X-UUID: 961b5db1c8e74aa99f2a2901d7107d2f-20200706 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=pKniBVcACW/1c0nv/+i0UMEccnPGSztmdOgnnm5URG0=; b=IVmYEUN3vmp2vCR+13XeHdnDKPyhhE/A1MhmIXtWqBqo9n7y/LJFMlo1lrJr66e66tiWL5NXk3swUPlOdRxMdnpaUJ7rAlng+92hkbUoiDgjIexlFtPYHV3cD1TC30lk0BBWaYK9O/iZd+ShDjx5cgoaL5SdrkProUBNY4zolkE=; X-UUID: 961b5db1c8e74aa99f2a2901d7107d2f-20200706 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1664098016; Mon, 06 Jul 2020 11:13:29 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 6 Jul 2020 11:13:16 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 6 Jul 2020 11:13:18 +0800 From: Neal Liu To: "Rafael J. Wysocki" , Len Brown , Daniel Lezcano , Thierry Reding , Jonathan Hunter , Jacob Pan , Matthias Brugger , Sami Tolvanen CC: Neal Liu , , , , , , lkml , Subject: [PATCH v2] cpuidle: change enter_s2idle() prototype Date: Mon, 6 Jul 2020 11:13:16 +0800 Message-ID: <1594005196-16327-2-git-send-email-neal.liu@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1594005196-16327-1-git-send-email-neal.liu@mediatek.com> References: <1594005196-16327-1-git-send-email-neal.liu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 597824827A178439AFED3D26CDAD9F180957C939B943E4CAF103919A77FC3B032000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Q29udHJvbCBGbG93IEludGVncml0eShDRkkpIGlzIGEgc2VjdXJpdHkgbWVjaGFuaXNtIHRoYXQg Z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