2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/iio
Sascha Hauer 46b24311cc iio: Fix unitialized use of list
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 <s.hauer@pengutronix.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2012-07-08 20:02:24 +01:00
..
adc iio:adc: Add AD7265/AD7266 support 2012-06-30 10:15:07 +01:00
amplifiers iio: amplifiers: New driver for AD8366 Dual-Digital Variable Gain Amplifier 2012-05-14 13:15:39 -07:00
dac iio:dac:ad5064: Add support for the ad5629r and ad5669r 2012-06-30 10:15:09 +01:00
frequency iio: ad9523: Fix argument type mismatch 2012-06-12 14:50:51 -07:00
light iio: add vcnl4000 combined ALS and proximity sensor 2012-06-20 16:12:46 -07:00
iio_core_trigger.h IIO: Move the core files to drivers/iio 2012-04-25 11:11:38 -07:00
iio_core.h IIO: Move the core files to drivers/iio 2012-04-25 11:11:38 -07:00
industrialio-buffer.c iio: iio_buffer_register: Use correct channel when calculating masklength 2012-07-08 20:02:23 +01:00
industrialio-core.c IIO: Add a modifier for x^2+y^2+z^2 2012-06-30 10:15:28 +01:00
industrialio-event.c iio: Fix unitialized use of list 2012-07-08 20:02:24 +01:00
industrialio-trigger.c iio:trigger: Use to_iio_trigger() instead of dev_get_drvdata() 2012-06-22 21:08:11 -07:00
industrialio-triggered-buffer.c iio: Add helper function for initializing triggered buffers 2012-06-18 17:26:09 -07:00
inkern.c iio: Rename _st_ functions to loose the bit that meant the staging version. 2012-06-30 10:15:12 +01:00
Kconfig Merge 3.5-rc4 into staging-next 2012-06-25 09:31:00 -07:00
kfifo_buf.c IIO: Move the core files to drivers/iio 2012-04-25 11:11:38 -07:00
Makefile iio: Add helper function for initializing triggered buffers 2012-06-18 17:26:09 -07:00