浏览代码

Input: twl4030-vibra - correct the power down sequence

It is better to turn off the first APLL, than the codec.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Peter Ujfalusi 15 年之前
父节点
当前提交
f2126a9967
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/input/misc/twl4030-vibra.c

+ 1 - 1
drivers/input/misc/twl4030-vibra.c

@@ -90,8 +90,8 @@ static void vibra_disable(struct vibra_info *info)
 	twl_i2c_write_u8(TWL4030_MODULE_AUDIO_VOICE,
 			 (reg & ~TWL4030_VIBRA_EN), TWL4030_REG_VIBRA_CTL);
 
-	twl4030_codec_disable_resource(TWL4030_CODEC_RES_POWER);
 	twl4030_codec_disable_resource(TWL4030_CODEC_RES_APLL);
+	twl4030_codec_disable_resource(TWL4030_CODEC_RES_POWER);
 
 	info->enabled = false;
 }