Commit a9ea1b17 authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Greg Kroah-Hartman

staging:iio:adc:max1363 fix missing update_scan_mask callback.

When moving over to the new sw_ring_preenable I managed to add
this callback to only one of the two iio_info structures. As
such only some devices will currently work.
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 09f78be7
...@@ -830,6 +830,7 @@ static struct attribute_group max1363_event_attribute_group = { ...@@ -830,6 +830,7 @@ static struct attribute_group max1363_event_attribute_group = {
static const struct iio_info max1238_info = { static const struct iio_info max1238_info = {
.read_raw = &max1363_read_raw, .read_raw = &max1363_read_raw,
.driver_module = THIS_MODULE, .driver_module = THIS_MODULE,
.update_scan_mode = &max1363_update_scan_mode,
}; };
static const struct iio_info max1363_info = { static const struct iio_info max1363_info = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment