wm8994 add 50ms delay between wm_en and i2c read register in device setup

This commit is contained in:
宋秀杰 2012-02-16 18:10:08 +08:00
parent f66b133848
commit 525fdeba3f

View File

@ -21,6 +21,7 @@
#include <linux/gpio.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/mfd/wm8994/core.h>
#include <linux/mfd/wm8994/registers.h>
#include <linux/mfd/wm8994/pdata.h>
@ -258,6 +259,7 @@ static __devinit int wm8994_ldo_probe(struct platform_device *pdev)
ret);
goto err_gpio;
}
msleep(50);
} else
ldo->is_enabled = true;