summaryrefslogtreecommitdiff
path: root/kernel/vhost_task.c
diff options
context:
space:
mode:
authorMarcelo Schmitt <marcelo.schmitt@analog.com>2023-12-19 17:29:30 -0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-12-26 15:42:24 +0000
commit8eb5976abfc5990367ca660ce8e222bba6f812c3 (patch)
treee8e44e4142dd449becfc2209765c4198ac7882f7 /kernel/vhost_task.c
parent7e3ebda32d6e8f10acbde2b204f6bf4020f7ef95 (diff)
iio: adc: ad7091r: Add chip_info callback to get conversion result channel
AD7091R-5 and AD7091R-2/-4/-8 have slightly different register field layout and due to that require different masks for getting the index of the channel associated with each read. Add a callback function so the base driver can get correct channel ID for each chip variant. Signed-off-by: Marcelo Schmitt <marcelo.schmitt@analog.com> Link: https://lore.kernel.org/r/1f7a40b4839b3a1c3f1a0654a1b329bea870feb6.1703013352.git.marcelo.schmitt1@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'kernel/vhost_task.c')
0 files changed, 0 insertions, 0 deletions