23 Mar, 2011
1 commit
-
Put the device into runtime suspend after resume()/probe() is handled by
the PM core and the device core code. No need to manually add them in
each single driver. And correct the runtime state in remove().Signed-off-by: Hong Liu
Signed-off-by: Alan Cox
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
16 Nov, 2010
1 commit
-
A few new i2c-drivers came into the kernel which clear the clientdata-pointer
on exit. This is obsolete meanwhile, so fix it and hope the word will spread.Signed-off-by: Wolfram Sang
Acked-by: Alan Cox
Acked-by: Guennadi Liakhovetski
Acked-by: Greg Kroah-Hartman
Signed-off-by: Jean Delvare
12 Nov, 2010
1 commit
-
i2c_smbus_read_byte_data() may return negative error code. This is not
seen to als_sensing_range_store() as the result is stored in unsigned int.Made it signed.
Signed-off-by: Vasiliy Kulikov
Cc: Hong Liu
Cc: Alan Cox
Cc: Anantha Narayanan
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
27 Oct, 2010
2 commits
-
Update the driver for the needed runtime power features. Remove the old
user controlled power functions.[akpm@linux-foundation.org: put PM code under CONFIG_PM]
Signed-off-by: Hong Liu
Signed-off-by: Alan Cox
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This adds support for the ADPS9802ALS sensor.
Cleanup by Alan Cox
- move mutexes to cover more things
- report I/O errors back to user space
- report range and values in LUXSigned-off-by: Anantha Narayanan
[The 4K and 64K in the hw spec actually means 4095 (12bit) and 65535 (16bit).]
Signed-off-by: Hong Liu
[Updated to match the ALS light API interface convention from Samu]
Signed-off-by: Alan Cox
Acked-by: Jonathan Cameron
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds