mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
wm8994 add 50ms delay between wm_en and i2c read register in device setup
This commit is contained in:
parent
f66b133848
commit
525fdeba3f
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user