09 Jul, 2012
1 commit
-
The dev_attr list is initialized in __iio_add_event_config_attrs which
is called only when indio_dev->channels is true. Nevertheless the list
is used unconditionally later in iio_device_register_eventset which
results in a NULL pointer exception. To fix this unconditionally
initialize the list in iio_device_register_eventset.Signed-off-by: Sascha Hauer
Signed-off-by: Jonathan Cameron
15 May, 2012
1 commit
-
Replace open-coded instances of getting a iio_dev struct from a device struct
with dev_to_iio_dev().Signed-off-by: Lars-Peter Clausen
Acked-by: Jonathan Cameron
Signed-off-by: Greg Kroah-Hartman
26 Apr, 2012
1 commit
-
Take the core support + the kfifo buffer implentation out of
staging. Whilst we are far from done in improving this subsystem
it is now at a stage where the userspae interfaces (provided by
the core) can be considered stable.Drivers will follow over a longer time scale.
Signed-off-by: Jonathan Cameron
Signed-off-by: Greg Kroah-Hartman