From: Hans de Goede <hdegoede@redhat.com>
To: Sebastian Reichel <sre@kernel.org>
Cc: Hans de Goede <hdegoede@redhat.com>, Kate Hsuan <hpa@redhat.com>,
linux-pm@vger.kernel.org, kernel test robot <lkp@intel.com>
Subject: [PATCH 1/3] power: supply: axp288-charger: Add depends on IOSF_MBIO to Kconfig
Date: Mon, 18 Oct 2021 15:50:51 +0200 [thread overview]
Message-ID: <20211018135053.213310-2-hdegoede@redhat.com> (raw)
In-Reply-To: <20211018135053.213310-1-hdegoede@redhat.com>
Add "depends on IOSF_MBI" to CONFIG_AXP288_CHARGER as the changes from
commit ed229454856e ("power: supply: axp288-charger: Optimize register
reading method") use symbols which are only defined when IOSF_MBI support
is enabled.
Depending on this is ok since IOSF_MBI support should always be enabled
on devices which use the AXP288 PMIC.
Fixes: ed229454856e ("power: supply: axp288-charger: Optimize register reading method")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
drivers/power/supply/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index fcc7534edcb2..2366b785abd9 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -351,7 +351,7 @@ config AXP20X_POWER
config AXP288_CHARGER
tristate "X-Powers AXP288 Charger"
- depends on MFD_AXP20X && EXTCON_AXP288
+ depends on MFD_AXP20X && EXTCON_AXP288 && IOSF_MBI
help
Say yes here to have support X-Power AXP288 power management IC (PMIC)
integrated charger.
--
2.31.1
next prev parent reply other threads:[~2021-10-18 13:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-18 13:50 [PATCH 0/3] power: supply: axp288-charger: cleanups + fixes Hans de Goede
2021-10-18 13:50 ` Hans de Goede [this message]
2021-10-18 13:50 ` [PATCH 2/3] power: supply: axp288-charger: Remove unnecessary is_present and is_online helpers Hans de Goede
2021-10-18 13:50 ` [PATCH 3/3] power: supply: axp288-charger: Simplify axp288_get_charger_health() Hans de Goede
2021-10-18 16:25 ` [PATCH 0/3] power: supply: axp288-charger: cleanups + fixes Sebastian Reichel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211018135053.213310-2-hdegoede@redhat.com \
--to=hdegoede@redhat.com \
--cc=hpa@redhat.com \
--cc=linux-pm@vger.kernel.org \
--cc=lkp@intel.com \
--cc=sre@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.