This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Power related problem on omap4430 based custom board

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??

Regards
-Kaushal