mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
wm8994 add 50ms delay between wm_en and i2c read register in device setup
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user