From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C79C31A5BBB; Thu, 17 Apr 2025 18:41:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744915293; cv=none; b=UgAStUfvtHWoTkLVE5Oejie1TIIipowZ/uBuImI1RO3CgFIKUsutGW+77KGldbxEdext3MU9GcbkFDWgSpAlhdUhNa47wyqu70miQLbvFJwsa5V9ozHc2NVw5xLQPZ2OMX87zXBRtLIgDxyQQ4wvRC7TpmWrDmw5wUZ6yWUs6kc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744915293; c=relaxed/simple; bh=9cFIAieBc34bpF7/8OC8LRRhR4Mm3k8kwHjyThNzFzs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=iEKuTyjlKXhayPS4ZRRAzvtBDpmtFBxa+n623KpwUfRQbLKW0fRHl8+Ct2L4akGSrBczqTx/ni9tMPjnoUeIu1jJKBBfRNUeKsCOkKuoK6I6pcZLw5CUu3D2luHyMYQxB6sQc/2o0iDSqAmMwroTg2S4TjkOwzHjEGNTdiHqRiY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kQF/Qt4e; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="kQF/Qt4e" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 496E4C4CEE4; Thu, 17 Apr 2025 18:41:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744915293; bh=9cFIAieBc34bpF7/8OC8LRRhR4Mm3k8kwHjyThNzFzs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kQF/Qt4e+RtnC8gHGreFbE0xHVEMx+vveWaydJlye6jxvCPThbU3tG17PyUFp+hX9 xZDodwpDGPBZkVx0j1ePzBcEOljmfHQFvHMF+bSbjBLXrJExQWHtC3jJI19sRX90k/ DczGyFnZEi2xvOFK6jyUwoRO2w1JrZ9Bka2XYDiY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, kernel test robot , Hans de Goede , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Sasha Levin Subject: [PATCH 6.12 081/393] platform/x86: x86-android-tablets: Add select POWER_SUPPLY to Kconfig Date: Thu, 17 Apr 2025 19:48:10 +0200 Message-ID: <20250417175110.862541017@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250417175107.546547190@linuxfoundation.org> References: <20250417175107.546547190@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Hans de Goede [ Upstream commit 2c30357e755b087217c7643fda2b8aea6d6deda4 ] Commit c78dd25138d1 ("platform/x86: x86-android-tablets: Add Vexia EDU ATLA 10 EC battery driver"), adds power_supply class registering to the x86-android-tablets code. Add "select POWER_SUPPLY" to the Kconfig entry to avoid these errors: ERROR: modpost: "power_supply_get_drvdata" [drivers/platform/x86/x86-android-tablets/vexia_atla10_ec.ko] undefined! ERROR: modpost: "power_supply_changed" [drivers/platform/x86/x86-android-tablets/vexia_atla10_ec.ko] undefined! ERROR: modpost: "devm_power_supply_register" [drivers/platform/x86/x86-android-tablets/vexia_atla10_ec.ko] undefined! When POWER_SUPPLY support is not enabled. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202503231159.ga9eWMVO-lkp@intel.com/ Signed-off-by: Hans de Goede Link: https://lore.kernel.org/r/20250324125052.374369-1-hdegoede@redhat.com Reviewed-by: Ilpo Järvinen Signed-off-by: Ilpo Järvinen Signed-off-by: Sasha Levin --- drivers/platform/x86/x86-android-tablets/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/x86-android-tablets/Kconfig b/drivers/platform/x86/x86-android-tablets/Kconfig index 88d9e8f2ff24e..c98dfbdfb9dda 100644 --- a/drivers/platform/x86/x86-android-tablets/Kconfig +++ b/drivers/platform/x86/x86-android-tablets/Kconfig @@ -8,6 +8,7 @@ config X86_ANDROID_TABLETS depends on I2C && SPI && SERIAL_DEV_BUS && ACPI && EFI && GPIOLIB && PMIC_OPREGION select NEW_LEDS select LEDS_CLASS + select POWER_SUPPLY help X86 tablets which ship with Android as (part of) the factory image typically have various problems with their DSDTs. The factory kernels -- 2.39.5