diff options
author | Peter Ujfalusi <peter.ujfalusi@nokia.com> | 2010-05-22 00:57:26 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-05-22 00:58:06 -0700 |
commit | f2126a99675a930b3ab5258698d82b2a3c69af3f (patch) | |
tree | 8a7eedaacdc33f96c0e60a662e927219626ea249 /drivers/input | |
parent | 3734574cac1002e4cf037e3591cf222b1e04dfa4 (diff) | |
download | blackbird-op-linux-f2126a99675a930b3ab5258698d82b2a3c69af3f.tar.gz blackbird-op-linux-f2126a99675a930b3ab5258698d82b2a3c69af3f.zip |
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>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/misc/twl4030-vibra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/twl4030-vibra.c b/drivers/input/misc/twl4030-vibra.c index fee9eac8e04a..4f9b2afc24e8 100644 --- a/drivers/input/misc/twl4030-vibra.c +++ b/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; } |