Merge tag 'iio-fixes-for-3.12a' of...
Merge tag 'iio-fixes-for-3.12a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus Jonathan writes: First round of IIO fixes for 3.12 A series of wrong 'struct dev' assumptions in suspend/resume callbacks following on from this issue being identified in a new driver review. One to watch out for in future. A number of driver specific fixes 1) at91 - fix a overflow in clock rate computation 2) dummy - Kconfig dependency issue 3) isl29018 - uninitialized value 4) hmc5843 - measurement conversion bug introduced by recent cleanup. 5) ade7854-spi - wrong return value. Some IIO core fixes 1) Wrong value picked up for event code creation for a modified channel 2) A null dereference on failure to initialize a buffer after no buffer has been in use, when using the available_scan_masks approach. 3) Sampling not stopped when a device is removed. Effects forced removal such as hot unplugging. 4) Prevent device going away if a chrdev is still open in userspace. 5) Prevent race on chardev opening and device being freed. 6) Add a missing iio_buffer_init in the call back buffer. These last few are the first part of a set from Lars-Peter Clausen who has been taking a closer look at our removal paths and buffer handling than anyone has for quite some time.
No related branches found
No related tags found
Showing
- drivers/iio/accel/bma180.c 2 additions, 2 deletionsdrivers/iio/accel/bma180.c
- drivers/iio/adc/at91_adc.c 6 additions, 5 deletionsdrivers/iio/adc/at91_adc.c
- drivers/iio/buffer_cb.c 2 additions, 0 deletionsdrivers/iio/buffer_cb.c
- drivers/iio/dac/mcp4725.c 6 additions, 6 deletionsdrivers/iio/dac/mcp4725.c
- drivers/iio/iio_core.h 4 additions, 0 deletionsdrivers/iio/iio_core.h
- drivers/iio/industrialio-buffer.c 28 additions, 2 deletionsdrivers/iio/industrialio-buffer.c
- drivers/iio/industrialio-core.c 21 additions, 10 deletionsdrivers/iio/industrialio-core.c
- drivers/iio/industrialio-event.c 14 additions, 6 deletionsdrivers/iio/industrialio-event.c
- drivers/iio/temperature/tmp006.c 4 additions, 2 deletionsdrivers/iio/temperature/tmp006.c
- drivers/staging/iio/Kconfig 1 addition, 1 deletiondrivers/staging/iio/Kconfig
- drivers/staging/iio/light/isl29018.c 1 addition, 0 deletionsdrivers/staging/iio/light/isl29018.c
- drivers/staging/iio/magnetometer/hmc5843.c 1 addition, 1 deletiondrivers/staging/iio/magnetometer/hmc5843.c
- drivers/staging/iio/meter/ade7854-spi.c 1 addition, 1 deletiondrivers/staging/iio/meter/ade7854-spi.c
Loading
Please register or sign in to comment