Skip to contentSkip to conversation

Patch "mfd: intel-lpss: Remove clock tree on error path" has been added to the 4.5-stable tree

PATCH [email protected] 1 participant 1 message May 6, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

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

mfd: intel-lpss: Remove clock tree on error path

to the 4.5-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:
mfd-intel-lpss-remove-clock-tree-on-error-path.patch
and it can be found in the queue-4.5 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 84cb36cac581c915ef4e8b70abb73e084325df92 Mon Sep 17 00:00:00 2001

From: Andy Shevchenko <[email protected]>
Date: Fri, 22 Jan 2016 16:48:46 +0200
Subject: mfd: intel-lpss: Remove clock tree on error path

From: Andy Shevchenko <[email protected]>

commit 84cb36cac581c915ef4e8b70abb73e084325df92 upstream.

We forgot to remove the clock tree if something goes wrong in ->probe(). Add a call to intel_lpss_unregister_clock() on error path in ->probe() to fix the potential issue.

Fixes 4b45efe85263 (mfd: Add support for Intel Sunrisepoint LPSS devices)
---
 drivers/mfd/intel-lpss.c |    1 +
 1 file changed, 1 insertion(+)
drivers/mfd/intel-lpss.c +1 -0
@@ -453,6 +453,7 @@ int intel_lpss_probe(struct device *dev,
 err_remove_ltr:
 	intel_lpss_debugfs_remove(lpss);
 	intel_lpss_ltr_hide(lpss);
+	intel_lpss_unregister_clock(lpss);
 
 err_clk_register:
 	ida_simple_remove(&intel_lpss_devid_ida, lpss->devid);

Patches currently in stable-queue which might be from [email protected] are

queue-4.5/mfd-intel-lpss-remove-clock-tree-on-error-path.patch