rtc-rtc-imxdi-check-the-return-value-from-clk_prepare_enable.patch removed from -mm tree
Subsystems (2)
Subject: [merged] rtc-rtc-imxdi-check-the-return-value-from-clk_prepare_enable.patch removed from -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Fri, 04 Apr 2014 12:34:42 -0700
The patch titled
Subject: drivers/rtc/rtc-imxdi.c: check the return value from clk_prepare_enable()
has been removed from the -mm tree. Its filename was
rtc-rtc-imxdi-check-the-return-value-from-clk_prepare_enable.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Fabio Estevam <[email protected]>
Subject: drivers/rtc/rtc-imxdi.c: check the return value from clk_prepare_enable()
clk_prepare_enable() may fail, so let's check its return value and propagate it in the case of error.
---
drivers/rtc/rtc-imxdi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/rtc/rtc-imxdi.c renamed from drivers/rtc/rtc-imxdi.c~rtc-rtc-imxdi-check-the-return-value-from-clk_prepare_enable +3 -1
@@ -401,7 +401,9 @@ static int __init dryice_rtc_probe(struc imxdi->clk =devm_clk_get (&pdev->dev,NULL );if (IS_ERR (imxdi->clk))return PTR_ERR (imxdi->clk); -clk_prepare_enable (imxdi->clk); + rc =clk_prepare_enable (imxdi->clk); +if (rc) +return rc;/* * Initialize dryice hardware
_
Patches currently in -mm which might be from [email protected] are
origin.patch
linux-next.patch