Commit c93a98a9 authored by Alessandro Rubini's avatar Alessandro Rubini

kernel: remove DAC_CLR_N bit at probe time

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 26f12211
......@@ -1102,6 +1102,11 @@ static int zfad_zio_probe(struct zio_device *zdev)
zfa_common_conf_set(fa, ZFAT_CFG_HW_EN, 0);
}
/* Zero offsets and release the DAC clear */
zfad_reset_offset(fa);
zfa_common_conf_set(fa, ZFA_CTL_DAC_CLR_N, 1);
/* Set UTC seconds from the kernel seconds */
zfa_common_conf_set(fa, ZFA_UTC_SECONDS, get_seconds());
......
Markdown is supported
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