2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 02:34:01 +08:00
linux-next/drivers/iio
Kim, Milo 801c4b5ca3 iio: inkern: put the IIO device when it fails to allocate memory
The reference count of the IIO device is increased if the IIO map has
 matched consumer name.
 After then, it tries to allocate the iio_channel which is used by the consumer.
 If it fails to allocate memory, the reference count should be decreased.

 This patch enables restoring the reference count of the IIO device.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2012-09-22 10:13:32 +01:00
..
accel iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
adc IIO new drivers, features and rework for the 3.7 cycle, 4th set. 2012-09-17 14:42:54 -07:00
amplifiers iio: amplifiers: New driver for AD8366 Dual-Digital Variable Gain Amplifier 2012-05-14 13:15:39 -07:00
common iio: hid-sensors: Prevent crash during hot-unplug 2012-09-22 10:07:34 +01:00
dac iio: dac/ad5755: signedness bug in ad5755_setup_pdata() 2012-09-22 10:09:40 +01:00
frequency iio: frequency: ADF4350: Fix potential reference div factor overflow. 2012-08-16 20:24:33 +01:00
gyro iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
light iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
magnetometer iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01: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: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
industrialio-core.c iio: Introduce a new fractional value type 2012-09-15 10:12:22 +01:00
industrialio-event.c iio: Fix unitialized use of list 2012-07-08 20:02:24 +01:00
industrialio-trigger.c iio:trigger: Register sysfs file statically 2012-07-08 10:39:58 +01:00
industrialio-triggered-buffer.c iio: Add helper function for initializing triggered buffers 2012-06-18 17:26:09 -07:00
inkern.c iio: inkern: put the IIO device when it fails to allocate memory 2012-09-22 10:13:32 +01:00
Kconfig iio: hid-sensors: Added ALS 2012-09-06 19:24:15 +01:00
kfifo_buf.c iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
Makefile iio: hid-sensors: Added ALS 2012-09-06 19:24:15 +01:00