commit | c93a4789cb0cc482b2dde11eb07203288679aa2c | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Wed Oct 25 10:48:07 2017 -0700 |
committer | Andrew Boie <andrewboie@gmail.com> | Mon Oct 30 13:20:19 2017 -0700 |
tree | fe5c4b25687103320da07c3fd5f7590378eef2c0 | |
parent | 2a2a855aa8d4f358ab4a43496632e44a7a9ff524 [diff] |
drivers: adc: add system call handlers Straightforward conversion for adc_enable/disable. adc_read() uses a sequence table, which points to an array of struct adc_seq_entry, each element pointing to memory buffers. Need to validate all of these as being readable by the caller, and the buffers writable. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>