HomeFreeBSD

MFC r365397: twsi: some variants clear interrupt flag by writing 0, others by…

Description

MFC r365397: twsi: some variants clear interrupt flag by writing 0, others by writing 1

Make that distinction more explicit and regular in the code.
The difference in behavior is documented in the respective datasheets.

Previously, the code handled the distinction by writing the control
register multiple times where at least one write was zero and another
was one.

This can be considered a follow-up to r363021 (MFC-ed as r366645).

Details

Provenance
avgAuthored on
Parents
rS366645: MFC r363021 by manu: twsi: Fix for > Allwinner A20
Branches
Unknown
Tags
Unknown