arch-wrpc: bugfix: when turning pps on/off use the wr_ops
wr_ops->enable_timing_output checks the current status and only acts
on hardware when the pps must be changed (turned on or off). Thus,
all internal uses must refer to this function, or we'll get out of
sync between actually pps activation and internall-known state.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment