Patch "Input: imx_keypad - add dependency on HAS_IOMEM" has been added to the 5.11-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    Input: imx_keypad - add dependency on HAS_IOMEM

to the 5.11-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     input-imx_keypad-add-dependency-on-has_iomem.patch
and it can be found in the queue-5.11 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit d5f84992fbb6b1f55bf99adac6de51865b223fe6
Author: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
Date:   Fri Dec 18 10:03:12 2020 -0800

    Input: imx_keypad - add dependency on HAS_IOMEM
    
    [ Upstream commit f5cace4b93d736cef348211ae0814cabdd26d86a ]
    
    devm_platform_ioremap_resource() depends on CONFIG_HAS_IOMEM, so let's add
    it to the dependencies when COMPILE_TEST is enabled.
    
    Reported-by: kernel test robot <lkp@xxxxxxxxx>
    Fixes: c8834032ffe2 ("Input: imx_keypad - add COMPILE_TEST support")
    Link: https://lore.kernel.org/r/X9llpA3w1zlZCHXU@xxxxxxxxxx
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
index 2b321c17054ad..94eab82086b27 100644
--- a/drivers/input/keyboard/Kconfig
+++ b/drivers/input/keyboard/Kconfig
@@ -446,7 +446,7 @@ config KEYBOARD_MPR121
 
 config KEYBOARD_SNVS_PWRKEY
 	tristate "IMX SNVS Power Key Driver"
-	depends on ARCH_MXC || COMPILE_TEST
+	depends on ARCH_MXC || (COMPILE_TEST && HAS_IOMEM)
 	depends on OF
 	help
 	  This is the snvs powerkey driver for the Freescale i.MX application



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux