Power on all devices.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 21 Jul 2011 16:40:57 +0000 (16:40 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 21 Jul 2011 16:40:57 +0000 (16:40 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4979 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/drv/wm8731.c

index 0b56af962531f84b525eef261d459ffe042dd811..74a07c4f14ef66102d60df5d86d1cfbb3710e9fa 100644 (file)
@@ -146,5 +146,5 @@ void wm8731_init(Wm8731 *ctx, I2c *i2c, uint8_t codec_addr)
 
        /* By default we turn on all devices and disable only the outclock */
        wm8731_write(ctx, WM8731_REG_ACTIVE_CTRL, 1);
-       wm8731_write(ctx, WM8731_REG_PWDOWN_CTRL, 0x47);
+       wm8731_write(ctx, WM8731_REG_PWDOWN_CTRL, 0x40);
 }