9fc806984c
Number of configured ADC channels is currently only defined in board level section, typically in xxx_adc.c file. This commit introduces ioctl command ANIOC_GET_NCHANNELS that returns the number of configured channels which is determined by the driver code. The change can allow the applications to be more flexible when it comes to multiple ADC devices with different number of configured channels. Signed-off-by: Michal Lenc <michallenc@seznam.cz> |
||
---|---|---|
.. | ||
include | ||
src | ||
Kconfig |