Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp22394lqt; Sun, 17 Mar 2024 22:56:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWLKFk0+Oglx3jh4HgmvjRhUq/QNtO8jC82V9DCawq8bbhWv1k6VQI0sJ0O2/GmEGPkMJ/iOt0xRFt8iKjy8GD2wjY8gnWB81JYbB0jaA== X-Google-Smtp-Source: AGHT+IGGlzSntIMMHxHDI81v9IQxymm7pQK2glcaEq09J9xB2b+Lyk0Qto5kf/a+2yU2Q6CZ3xBc X-Received: by 2002:a05:6358:c9b:b0:17e:b695:de64 with SMTP id o27-20020a0563580c9b00b0017eb695de64mr13029559rwj.21.1710741365642; Sun, 17 Mar 2024 22:56:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710741365; cv=pass; d=google.com; s=arc-20160816; b=C4R+3ikO0yKIk1GnObgnIbiFBhNwLvr+JaJ1H480AXDsRNSRTG/90EUPV8+udgvDTs TM0lBNuA5RVxrFSqz4lhaaQNv7BDETsgZIRhjPrfAAjANki7V9wYxFuBEwckWWP3NIWu rcB1oKGS2Kx8RjAK6cVdt3MziZaGF50zi8ZAjUhmMaaSvYLkvQFjlGHMNS8y0OP8A9DR Rh9AO72OGHkqhyHgfeC38tpAUV2pNMt73Z3iOIfkbDEpD75q+RKpXl6ZqQRX+JUXot0v oCjC8Ne1PFeJDH+SBqfo/l8OZ87FxE/E2NxYuHDeAQRhsEG9xdYC2nEt4FmJXElgD+FA PVkA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=pFxI+pQ5jjRgIwAq7NRn7tOdBICtoztZwb8r14D2wZ0=; fh=CN1lw5Tpnz/2ukaLG3t0Y+t771kwhtVB6zI6Fpz3ohA=; b=blE1ABIHko1aDkw274CEQr+4588CEYIx+VAg7KGFR1bka9JCphPel7EtFsBpFcM09o 9s1JfCjsHK8ppKVlHUMQuRgJY9LrPFrXJhWgQdPpV70ex4/ZL25RaT6RaV5Mmic3/meB gGw1Zky+SqoXeP0/493PExlvmu43y8HWmbGrLrEjV+pBtLyrb99HaCXXrhO03kUcPTh/ 7HtooU0X07tQZy/M+MlRbwvVwTuiF3c9D9lycUuzbaxmDkiGJNH8pTxS9UhbQUijf49w creYgruh7GHoUaYZfGD6eJykqkpktxyUP7vOQlPF6ZozWqorM+ZhFuXcYhXZiVHS44QL OHVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=V3j2kBdr; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-105720-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105720-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d14-20020a63d70e000000b005dccf9c665csi7577134pgg.664.2024.03.17.22.56.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 22:56:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-105720-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=V3j2kBdr; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-105720-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105720-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4A5BD280F73 for ; Mon, 18 Mar 2024 05:56:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B7CF22339; Mon, 18 Mar 2024 05:55:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="V3j2kBdr" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 068EC4C84; Mon, 18 Mar 2024 05:55:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710741356; cv=none; b=DZanEnvAVcod9Ud/PF47v0bpJuTxcdVvvo5HitYo+D4hDXcKIKPUS5KUpyEahSxXX875DZMfNJqw8iTRCetWhi6OwgCqO1ii8/FjhZAHPkEbkuM7DfGYURBRLdYOZjA50YyLPDLyzLKWhqRaPjo5Z2VFNa+rxHP54yCyPfumhbY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710741356; c=relaxed/simple; bh=j/Ss5DMv9UPR2GoQ38F+FOQNt0A1Eza7EAmHZss64VQ=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=WaVfbmambnEz8VKm6meB2yH1KywimOZZq02IIGdWiIFIoyG3x95+oAABf8SQG4TPCOuVkLfhKe2b7vRRH7qSXp/ExujPTkhrWgTkeSW4NmsbdvHnGbcHzh9qOfYiwnNUoCtAfdQnPBmUBs/nNKA4DFrSEQ+/ty9caG/eVajxb30= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=V3j2kBdr; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 42I5tPWG115591; Mon, 18 Mar 2024 00:55:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1710741325; bh=pFxI+pQ5jjRgIwAq7NRn7tOdBICtoztZwb8r14D2wZ0=; h=From:To:CC:Subject:Date; b=V3j2kBdr8BgVKrqmzwbtv1v/8++YfBtfVPr+eRDOq1Heg8SSvHQ3s83Fa7MCoe2kj TZnNhoSZ/MhmZKqm9knaurZRxeVYuo79VteZljYk4AtUttzNN15VnvEIyWmHTXKdnj 8BuBjEvRc0kC4ReyhiXOuwvfoRthE0YLizl6If/o= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 42I5tPmP016264 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 18 Mar 2024 00:55:25 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 18 Mar 2024 00:55:24 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 18 Mar 2024 00:55:24 -0500 Received: from dhruva.dhcp.ti.com (dhruva.dhcp.ti.com [172.24.227.68]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 42I5tKiE082113; Mon, 18 Mar 2024 00:55:21 -0500 From: Dhruva Gole To: Ulf Hansson , "Rafael J. Wysocki" , Adrian Hunter CC: Tony Lindgren , Len Brown , Pavel Machek , Greg Kroah-Hartman , Viresh Kumar , , Dhruva Gole , , , Subject: [PATCH 0/3] PM: wakeup: make device_wakeup_disable return void Date: Mon, 18 Mar 2024 11:20:51 +0530 Message-ID: <20240318055054.1564696-1-d-gole@ti.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 This is a follow up patch based on discussions with Rafael[0] on a previous patch I sent to propagate return value from device_wakeup_disable further upward inside device_init_wakeup However, it doesn't seem like today any return values from device_wakeup_disable are very useful to the caller. I could only spot one caller of this function that was actually propagating the return value upward other than the PM core calls. I have tried to update sdhci-pci-core to work with the new changes I think that the patch 3/3 should go via Adrian or Ulf's tree, rest are all PM core changes. [0] https://lore.kernel.org/all/CAJZ5v0jbHwiZemtNAoM-jmgB_58VqmKUkqv4P7qrPkxWzBzMyQ@mail.gmail.com/ Dhruva Gole (3): PM: wakeup: make device_wakeup_disable return void PM: wakeup: Remove unnecessary else from device_init_wakeup mmc: sdhci-pci: Use device_set_wakeup_enable for en/disable wakeups drivers/base/power/wakeup.c | 11 +++++++---- drivers/mmc/host/sdhci-pci-core.c | 4 ++-- include/linux/pm_wakeup.h | 12 +++++------- 3 files changed, 14 insertions(+), 13 deletions(-) -- 2.34.1