Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #59331

Bug#880584: [PATCH] auto_add_modules: add mfd in MODULES==most

From Riku Voipio <riku.voipio@linaro.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#880584: [PATCH] auto_add_modules: add mfd in MODULES==most
Date 2017-11-02 16:00 +0100
Message-ID <uHp8m-8cS-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: initramfs-tools
Version: 0.130
Severity: normal
Tags: patch

Multi Function Devices may carry essential functions on arm/arm64
platforms. For example in 96boards HiKey mfd/hi655x-pmic has regulators,
causing MMC driver init fail.  when generating generic initrd on offline
with MODULES=most, update-initramfs doesn't pick mfd modules.

Since mfd is quite small (284K on arm64), just add them all to most. This
may also open the road to make some currently built-in CONFIG_MFD
drivers modules.

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
---
 hook-functions | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hook-functions b/hook-functions
index 679e11d..4b49391 100644
--- a/hook-functions
+++ b/hook-functions
@@ -537,6 +537,7 @@ auto_add_modules()
 			copy_modules_dir kernel/drivers/gpio
 			copy_modules_dir kernel/drivers/i2c/busses
 			copy_modules_dir kernel/drivers/i2c/muxes
+			copy_modules_dir kernel/drivers/mfd
 			copy_modules_dir kernel/drivers/phy
 			copy_modules_dir kernel/drivers/pinctrl
 			copy_modules_dir kernel/drivers/regulator
-- 
2.14.2

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#880584: [PATCH] auto_add_modules: add mfd in MODULES==most Riku Voipio <riku.voipio@linaro.org> - 2017-11-02 16:00 +0100
  Bug#880584: [PATCH] auto_add_modules: add mfd in MODULES==most Riku Voipio <riku.voipio@iki.fi> - 2017-12-12 10:30 +0100
    Bug#880584: [PATCH] auto_add_modules: add mfd in MODULES==most Ben Hutchings <ben@decadent.org.uk> - 2017-12-12 17:00 +0100

csiph-web