Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2126a99 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Dmitry Torokhov
Browse files

Input: twl4030-vibra - correct the power down sequence



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

Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 3734574c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}