aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2019-12-27 17:00:54 +0000
committerGreg Kroah-Hartman <[email protected]>2020-01-03 11:46:59 +0100
commita9d3a9cedc1330c720e0ddde1978a8e7771da5ab (patch)
tree7513a6e9981447a92411522d1698213145949ecb /scripts/gdb/linux
parentc0bcf9f3f5b661d4ace2a64a79ef661edd2a4dc8 (diff)
staging: comedi: adv_pci1710: fix AI channels 16-31 for PCI-1713
The Advantech PCI-1713 has 32 analog input channels, but an incorrect bit-mask in the definition of the `PCI171X_MUX_CHANH(x)` and PCI171X_MUX_CHANL(x)` macros is causing channels 16 to 31 to be aliases of channels 0 to 15. Change the bit-mask value from 0xf to 0xff to fix it. Note that the channel numbers will have been range checked already, so the bit-mask isn't really needed. Fixes: 92c65e5553ed ("staging: comedi: adv_pci1710: define the mux control register bits") Reported-by: Dmytro Fil <[email protected]> Cc: <[email protected]> # v4.5+ Signed-off-by: Ian Abbott <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions