diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-01-22 16:48:46 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-05-11 11:21:10 +0200 |
| commit | 8cc8381397b44d8888c02ad1995496d709cd541a (patch) | |
| tree | d938ad2ab7e3103c9f15cc4dfa4379f7ab42a03a /include/linux/stackprotector.h | |
| parent | f94ad404f8934e0cae299dd6520707dc02bbf2fc (diff) | |
mfd: intel-lpss: Remove clock tree on error path
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)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
