Skip to content
Commit 547120ed authored by Steve Twiss's avatar Steve Twiss Committed by Lee Jones
Browse files

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: default avatarSteve Twiss <stwiss.opensource@diasemi.com>
Reviewed-by: default avatarAdam Thomson <adam.thomson.opensource@diasemi.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 29090265
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment