linux-sg2042/drivers/iio
Daniel Baluta 8b14821a5c iio: magnetometer: mmc35240: Fix crash in pm suspend
We must set i2c client private data at probe in order to
correctly retrieve it in pm suspend/resume, preventing
the following crash:

[ 321.790582] PM: Syncing filesystems ... done.
[ 322.364440] PM: Preparing system for mem sleep
[ 322.400047] PM: Entering mem sleep
[ 322.462178] BUG: unable to handle kernel NULL pointer dereference at 0000036c
[ 322.469119] IP: [<80e0b3d2>] mmc35240_suspend+0x12/0x30
[ 322.474291] *pdpt = 000000002fd6f001 *pde = 0000000000000000
[ 322.479967] Oops: 0000 1 PREEMPT SMP
[ 322.496516] task: a86d0df0 ti: a8766000 task.ti: a8766000
[ 322.570744] Call Trace:
[ 322.573217] [<80c0d2d1>] pm_generic_suspend+0x21/0x30
[ 322.578284] [<80d042ab>] i2c_device_pm_suspend+0x1b/0x30

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-07-19 11:53:35 +01:00
..
accel iio:accel:bmc150-accel: fix counting direction 2015-07-19 11:48:09 +01:00
adc iio:adc:cc10001_adc: fix Kconfig dependency 2015-07-19 11:48:12 +01:00
amplifiers iio: amplifiers: ad8366: Use right order for type specification 2015-01-01 12:16:57 +00:00
common hid-sensor: Fix suspend/resume delay 2015-07-19 11:47:57 +01:00
dac iio: DAC: ad5624r_spi: fix bit shift of output data value 2015-07-19 11:48:05 +01:00
frequency iio: frequency: ad9523: Increase sleep time in ad9523_store_eeprom 2015-01-01 12:18:26 +00:00
gyro Second set of new driver, functionality and cleanups for IIO in the 4.2 cycle. 2015-05-24 11:45:21 -07:00
humidity iio: Allow compile test of GPIO consumers if !GPIOLIB 2015-05-10 20:31:43 +01:00
imu iio: inv-mpu: Specify the expected format/precision for write channels 2015-07-19 11:48:01 +01:00
light iio:light:ltr501: fix regmap dependency 2015-07-19 11:48:17 +01:00
magnetometer iio: magnetometer: mmc35240: Fix crash in pm suspend 2015-07-19 11:53:35 +01:00
orientation iio: orientation: hid-sensor-rotation: Fix memory leak in probe() 2015-05-17 09:10:25 +01:00
pressure Second set of new driver, functionality and cleanups for IIO in the 4.2 cycle. 2015-05-24 11:45:21 -07:00
proximity iio: sx9500: Add missing init in sx9500_buffer_pre{en,dis}able() 2015-07-19 11:48:17 +01:00
temperature iio: tmp006: Check channel info on write 2015-07-19 11:48:18 +01:00
trigger iio: trigger: Add a blank line after declarations 2014-12-26 12:15:36 +00:00
Kconfig Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-02-19 10:36:45 -08:00
Makefile iio: Add AS3935 lightning sensor support 2014-03-16 18:00:32 +00:00
buffer_cb.c iio: Specify supported modes for buffers 2015-06-01 11:31:12 +01:00
iio_core.h iio: Move buffer registration to the core 2014-12-12 12:28:31 +00:00
iio_core_trigger.h iio: fix semicolon in io_core_trigger.h 2013-08-03 18:40:32 +01:00
industrialio-buffer.c iio: Require strict scan mask matching in hardware mode 2015-06-01 11:34:54 +01:00
industrialio-core.c iio: Add I/Q modifiers 2015-05-23 10:49:55 +01:00
industrialio-event.c iio: core: add high pass filter attributes 2015-05-17 10:32:35 +01:00
industrialio-trigger.c iio: Remove timestamp argument from iio_trigger_poll() and iio_trigger_poll_chained() 2014-06-14 16:25:59 +01:00
industrialio-triggered-buffer.c iio: kfifo: Remove unused argument in iio_kfifo_allocate 2014-12-26 11:20:38 +00:00
inkern.c First round of IIO new drivers, cleanups and functionality for the 3.20 cycle take 2 2015-01-21 10:13:37 +08:00
kfifo_buf.c Third round of new IIO drivers, cleanups and functionality for the 4.2 cycle. 2015-06-10 20:48:34 -07:00