diff options
| -rw-r--r-- | drivers/input/misc/mpu3050.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/misc/mpu3050.c b/drivers/input/misc/mpu3050.c index dce0d95943c5..6983ffbbfb94 100644 --- a/drivers/input/misc/mpu3050.c +++ b/drivers/input/misc/mpu3050.c | |||
| @@ -383,6 +383,7 @@ static int mpu3050_probe(struct i2c_client *client, | |||
| 383 | 383 | ||
| 384 | pm_runtime_enable(&client->dev); | 384 | pm_runtime_enable(&client->dev); |
| 385 | pm_runtime_set_autosuspend_delay(&client->dev, MPU3050_AUTO_DELAY); | 385 | pm_runtime_set_autosuspend_delay(&client->dev, MPU3050_AUTO_DELAY); |
| 386 | i2c_set_clientdata(client, sensor); | ||
| 386 | 387 | ||
| 387 | return 0; | 388 | return 0; |
| 388 | 389 | ||
