Patch "i3c/master/mipi-i3c-hci: Specify HAS_IOMEM dependency" 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

    i3c/master/mipi-i3c-hci: Specify HAS_IOMEM dependency

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:
     i3c-master-mipi-i3c-hci-specify-has_iomem-dependency.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 92b601df8bb4c9f00707d64c4264446bcbcfece9
Author: David Gow <davidgow@xxxxxxxxxx>
Date:   Tue Jan 26 20:06:37 2021 -0800

    i3c/master/mipi-i3c-hci: Specify HAS_IOMEM dependency
    
    [ Upstream commit 9d909f1b1e91b4aa7d016ed14b7b76dbf2675414 ]
    
    The MIPI i3c HCI driver makes use of IOMEM functions like
    devm_platform_ioremap_resource(), which are only available if
    CONFIG_HAS_IOMEM is defined.
    
    This causes the driver to be enabled under make ARCH=um allyesconfig,
    even though it won't build.
    
    By adding a dependency on HAS_IOMEM, the driver will not be enabled on
    architectures which don't support it.
    
    Fixes: 9ad9a52cce28 ("i3c/master: introduce the mipi-i3c-hci driver")
    Signed-off-by: David Gow <davidgow@xxxxxxxxxx>
    Acked-by: Nicolas Pitre <npitre@xxxxxxxxxxxx>
    Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20210127040636.1535722-1-davidgow@xxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/i3c/master/Kconfig b/drivers/i3c/master/Kconfig
index e68f15f4b4d0c..afff0e2320f74 100644
--- a/drivers/i3c/master/Kconfig
+++ b/drivers/i3c/master/Kconfig
@@ -25,6 +25,7 @@ config DW_I3C_MASTER
 config MIPI_I3C_HCI
 	tristate "MIPI I3C Host Controller Interface driver (EXPERIMENTAL)"
 	depends on I3C
+	depends on HAS_IOMEM
 	help
 	  Support for hardware following the MIPI Aliance's I3C Host Controller
 	  Interface specification.



[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