diff options
author | Steve Twiss <stwiss.opensource@diasemi.com> | 2016-07-06 16:12:03 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-10-04 15:48:02 +0100 |
commit | 547120edbacba09ae8becab65aa86e3fd4e75e9a (patch) | |
tree | 51490ef01f6132caa334a3871f3e1d05d6124bae /fs/nsfs.c | |
parent | 29090265a242765a0d84bd04ce90e0fa69d75602 (diff) |
mfd: da9053: Ensure the FAULT_LOG is cleared during MFD driver probe
The function da9052_clear_fault_log() is added to mitigate the case of
persistent data being transferred between reboots.
Clearance of any the persistent information within the DA9053 FAULT_LOG
register must be completed during start-up so the fault-log does not
continue with previous values. A clearance function has been added here in
the kernel driver because wiping the fault-log cannot be counted on outside
the Linux kernel.
Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
Reviewed-by: Adam Thomson <adam.thomson.opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'fs/nsfs.c')
0 files changed, 0 insertions, 0 deletions