ASoc: rt5639: Fixed delay requirement for LDO1_EN
authorAsha T <atalambedu@nvidia.com>
Wed, 3 Jun 2015 11:41:05 +0000 (16:41 +0530)
committerDara Ramesh <dramesh@nvidia.com>
Wed, 24 Jun 2015 05:38:17 +0000 (22:38 -0700)
commita20583804064d601daebaa0ac3d1425d9482fad8
tree04eb55f1041201b86e6ce62867b5f028e26e200d
parent8ffcda634b715cbe288fb4377bf810211e9a2f65
ASoc: rt5639: Fixed delay requirement for LDO1_EN

Realtek recommended >400ms delay after LDO1_EN is pulled up. This
is to ensure that codec digital circuitry is ready for the
subsequent i2c trasactions. And 200ms delay is needed after LDO1_EN
is pulled low after deregistering sound card. Made changes to the
machine driver taking poweroff sequence in ALC5639 datasheet into
consideration.

Bug 200107647

Reviewed-on: http://git-master/r/751887
(cherry picked from commit 166f93d046e3a0722a9ecc5a266c36c0bd2d5565)
Change-Id: I7b21144e307d823f6ce680386f07dbed7fd71bf0
Signed-off-by: Asha T <atalambedu@nvidia.com>
Reviewed-on: http://git-master/r/758964
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
sound/soc/tegra/tegra_rt5639.c