freebsd-skq/sys/dev/iicbus/twsi
Andriy Gapon 6305020526 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.

Reviewed by:	manu
MFC after:	4 weeks
Differential Revision: https://reviews.freebsd.org/D26308
2020-09-07 06:32:03 +00:00
..
a10_twsi.c twsi: some variants clear interrupt flag by writing 0, others by writing 1 2020-09-07 06:32:03 +00:00
mv_twsi.c Add pnpinfo. 2019-05-23 18:19:56 +00:00
twsi.c twsi: some variants clear interrupt flag by writing 0, others by writing 1 2020-09-07 06:32:03 +00:00
twsi.h twsi: some variants clear interrupt flag by writing 0, others by writing 1 2020-09-07 06:32:03 +00:00