Patch "soc: qcom: llcc: make irq truly optional" has been added to the 5.4-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

    soc: qcom: llcc: make irq truly optional

to the 5.4-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:
     soc-qcom-llcc-make-irq-truly-optional.patch
and it can be found in the queue-5.4 subdirectory.

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



commit 90b2ebda483b7719456e32b44f2353dd467e50e7
Author: Luca Weiss <luca.weiss@xxxxxxxxxxxxx>
Date:   Fri Nov 4 16:30:41 2022 +0100

    soc: qcom: llcc: make irq truly optional
    
    [ Upstream commit c882c899ead3545102a4d71b5fbe73b9e4bc2657 ]
    
    The function platform_get_irq prints an error message into the kernel
    log when the irq isn't found.
    
    Since the interrupt is actually optional and not provided by some SoCs,
    use platform_get_irq_optional which does not print an error message.
    
    Fixes: c081f3060fab ("soc: qcom: Add support to register LLCC EDAC driver")
    Signed-off-by: Luca Weiss <luca.weiss@xxxxxxxxxxxxx>
    Signed-off-by: Bjorn Andersson <andersson@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20221104153041.412020-1-luca.weiss@xxxxxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c
index 19039f19af97..69abc99b812d 100644
--- a/drivers/soc/qcom/llcc-qcom.c
+++ b/drivers/soc/qcom/llcc-qcom.c
@@ -415,7 +415,7 @@ static int qcom_llcc_probe(struct platform_device *pdev,
 	if (ret)
 		goto err;
 
-	drv_data->ecc_irq = platform_get_irq(pdev, 0);
+	drv_data->ecc_irq = platform_get_irq_optional(pdev, 0);
 	if (drv_data->ecc_irq >= 0) {
 		llcc_edac = platform_device_register_data(&pdev->dev,
 						"qcom_llcc_edac", -1, drv_data,



[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