]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Bug fixes for the ads111x driver... make configurable gain and sample rate
authorIan Lepore <ian@FreeBSD.org>
Mon, 12 Oct 2020 18:02:51 +0000 (18:02 +0000)
committerIan Lepore <ian@FreeBSD.org>
Mon, 12 Oct 2020 18:02:51 +0000 (18:02 +0000)
commitc88da3b94d9bfbce75b6213db6c2982ebfd9de1c
tree85fee3688a1083ce1c5d1391f6247ed5be5af112
parente6f9af16bc09b3d2789f473073a66870657e9e96
Bug fixes for the ads111x driver... make configurable gain and sample rate
hints work on per-channel basis as documented, rather than chip-wide.  Also,
when configured via hints, return BUS_PROBE_NOWILDCARD on successful hints
match, so that the hints don't bogusly match other types of i2c chips.
sys/dev/iicbus/ads111x.c