Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2385967rwb; Thu, 29 Sep 2022 09:31:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7wxkUvi6ODt4MkUPAT2TJES5DQL/O+hvLlbwIWGp9yVBrGZ9OvpoMXPvhhT3LPNBkfsvzz X-Received: by 2002:a17:906:58cc:b0:785:f030:19c2 with SMTP id e12-20020a17090658cc00b00785f03019c2mr3460560ejs.88.1664469089952; Thu, 29 Sep 2022 09:31:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664469089; cv=none; d=google.com; s=arc-20160816; b=A1C1ROxiJ1KAE1V8FWFd/xH+k+c3lpnKuxYy3VC17BPImoDazYPAL3TdugHdJ4jKl8 CB85Xukex7cBF9v+Ntx/rCiWWKZj96UFN8ud3PBaX4xtiJqkmYqgXx5tGEfnSDSd35UX BZEcbRY0iqht5MzjJQjxJwyPCiLDXAzv2D7hTGFxfISMm9JC+Y1XjVK7dl3ZXyLtXGKT r8bHifsPxpweXx3JduASy40rd8ho5sgd+WssNUYL9B82Jhq4Qb5emAYvDsNZjwXiXat9 J8H0SMb0DjUj8kl5T0ZqMVuZ0so3mRBODliGQth0NcjUm6Idc6pZ59H6+7XZHALhfcQ3 6/+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=B2T8BuI3no24teUYYIo0mu0zp3pTsUlj5QnA0Co7tqM=; b=uZzphCZawk7UgR5ggJ3CN3nApyAr7fLWWWqTK48q5l0rUNExxM+DYgDiNzVAdy/rDh 8OoMrwaSHELG2j0W5a4GZZtYwVEQpsXizf2XKDkpnpjPy51bHgOlpHkSIKzTwrntA5X5 v4x8ShaK2Bx+GpmykmPjqsYd0aewVkHEDcM7yO+Y8BjMpruafMCE1zuGQ7dMC5OQqZD6 LAWXoNKE/Cvx3XKkNh5LVkojGJwSzULcNrAcQqfQCD613RbNjljq9I9Pn+HkY64VWhke Gq9ApUrCjdxSeyAP8mW4x0PQQFt5uz1mqKGW56INBJMogZ1Fb/i1LpEsSGVEiDDdrMG3 jppA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UwPP1YFF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w24-20020a170906b19800b00777795f0725si7313673ejy.139.2022.09.29.09.31.04; Thu, 29 Sep 2022 09:31:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UwPP1YFF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236305AbiI2QV3 (ORCPT + 99 others); Thu, 29 Sep 2022 12:21:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236197AbiI2QTm (ORCPT ); Thu, 29 Sep 2022 12:19:42 -0400 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B96FDB12 for ; Thu, 29 Sep 2022 09:19:32 -0700 (PDT) Received: by mail-il1-x132.google.com with SMTP id a4so943156ilj.8 for ; Thu, 29 Sep 2022 09:19:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=B2T8BuI3no24teUYYIo0mu0zp3pTsUlj5QnA0Co7tqM=; b=UwPP1YFFYnXM+Ku/9y9p8KGX0YX47OhXCxxVWY5lkFnmxvZJcYEFbJBsCkG0PgO566 bvD24Zr5UdcNL/cdHYxVmpZTF6SXfmCe+thOLu6AjMnxn5Cd2mu4SpV39hqOI4p48t3o svRAwaOXpRJnpwcv4yvarO7idPNktzR5kQUDU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B2T8BuI3no24teUYYIo0mu0zp3pTsUlj5QnA0Co7tqM=; b=PpjWmacgVw+Q1IAGZdopAHF+Y9FpK5mWrXhIH08uXu89gPFLBZkGTzpmQOJ5iUvk9x x2XO857HqkI0lObDkiP2nPwE2gpZvuUnH4rC3zgw6o8ZaVjuXKCPpIgs/D/GRlzfgr/A Qpp56PDDhrULzy2ZzWjKt/a03EskUQpD847qef7J0vfA/E59iGY70wSbwUodueGgNXim 3RZehvktMip6HT3MpkkFEoFzxYHuPxi9lWZ5unQavuFTVgbIfIP7VPueCHNljfjCa9Ep MGw0n44oQqPHU2HasYIu0RsAU7XxwoyxDCxAaKqGUB2yhfHl9XBc4KfE7A4lPibOshEE TDcQ== X-Gm-Message-State: ACrzQf1agAlwV5v0xM3LbHT2yjXFWumD1mvs6ozdjFeWznK7UFr3CR5I XD5OCINMIOnMNSDyEw9DKHMtTw== X-Received: by 2002:a05:6e02:1bcf:b0:2f6:a41b:cc11 with SMTP id x15-20020a056e021bcf00b002f6a41bcc11mr1999439ilv.103.1664468371628; Thu, 29 Sep 2022 09:19:31 -0700 (PDT) Received: from rrangel920.bld.corp.google.com (h24-56-189-219.arvdco.broadband.dynamic.tds.net. [24.56.189.219]) by smtp.gmail.com with ESMTPSA id f12-20020a02848c000000b0035aab2f1ab1sm2965451jai.134.2022.09.29.09.19.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 09:19:31 -0700 (PDT) From: Raul E Rangel To: linux-acpi@vger.kernel.org, linux-input@vger.kernel.org Cc: andriy.shevchenko@linux.intel.com, dmitry.torokhov@gmail.com, hdegoede@redhat.com, rafael@kernel.org, mika.westerberg@linux.intel.com, mario.limonciello@amd.com, timvp@google.com, linus.walleij@linaro.org, jingle.wu@emc.com.tw, Raul E Rangel , Benjamin Tissoires , Alistair Francis , Jiri Kosina , Rob Herring , linux-kernel@vger.kernel.org Subject: [PATCH v6 09/13] HID: i2c-hid: acpi: Stop setting wakeup_capable Date: Thu, 29 Sep 2022 10:19:13 -0600 Message-Id: <20220929093200.v6.9.I2efb7f551e0aa2dc4c53b5fd5bbea91a1cdd9b32@changeid> X-Mailer: git-send-email 2.37.3.998.g577e59143f-goog In-Reply-To: <20220929161917.2348231-1-rrangel@chromium.org> References: <20220929161917.2348231-1-rrangel@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is now handled by the i2c-core driver. Signed-off-by: Raul E Rangel Acked-by: Benjamin Tissoires --- (no changes since v5) Changes in v5: - Added Acked-by: Benjamin Tissoires drivers/hid/i2c-hid/i2c-hid-acpi.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/hid/i2c-hid/i2c-hid-acpi.c b/drivers/hid/i2c-hid/i2c-hid-acpi.c index b96ae15e0ad917e..375c77c3db74d92 100644 --- a/drivers/hid/i2c-hid/i2c-hid-acpi.c +++ b/drivers/hid/i2c-hid/i2c-hid-acpi.c @@ -105,11 +105,6 @@ static int i2c_hid_acpi_probe(struct i2c_client *client) acpi_device_fix_up_power(adev); - if (acpi_gbl_FADT.flags & ACPI_FADT_LOW_POWER_S0) { - device_set_wakeup_capable(dev, true); - device_set_wakeup_enable(dev, false); - } - return i2c_hid_core_probe(client, &ihid_acpi->ops, hid_descriptor_address, 0); } -- 2.37.3.998.g577e59143f-goog