commit | 84cb36cac581c915ef4e8b70abb73e084325df92 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Fri Jan 22 16:48:46 2016 +0200 |
committer | Lee Jones <lee.jones@linaro.org> | Wed Mar 09 12:58:51 2016 +0700 |
tree | 7027173b8f8f19d22e241001b983a37209538466 | |
parent | dbc352b9f16de45277abf2e30d0317ce55fc1e57 [diff] |
mfd: intel-lpss: Remove clock tree on error path 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>