current related problem in head tracker for mpu9150

By mathieu , 10 January 2014

Hi All,


I'm using the omap4430 based custom board. mpu9150 is used.
In my mpu core file, "drivers/staging/iio/imu/mpu/inv_mpu_core.c"
"inv_power_state_store()" function is called 2 times but when i saw, it is directly called from
"static DEVICE_ATTR(power_state, S_IRUGO | S_IWUSR, inv_power_state_show, inv_power_state_store);"
which is the constant IIO Attributes.

Why is it calling 2 times to the function "inv_power_state_store()" and if it is calling so then from where is it exactly called?? if some other problem causing not to reduce the current after suspend state, then plz mention it.

Any help would be much appreciated!

Kind Regards
-Kausha

phpbb Topic ID
15849