wm8737.c (4ba24fef3eb3b142197135223b90ced2f319cd53) | wm8737.c (bd1204cb51f15d202f95222e873a94ed5d07b784) |
---|---|
1/* 2 * wm8737.c -- WM8737 ALSA SoC Audio driver 3 * 4 * Copyright 2010 Wolfson Microelectronics plc 5 * 6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 546 unchanged lines hidden (view full) --- 555 goto err_enable; 556 } 557 558 snd_soc_update_bits(codec, WM8737_LEFT_PGA_VOLUME, WM8737_LVU, 559 WM8737_LVU); 560 snd_soc_update_bits(codec, WM8737_RIGHT_PGA_VOLUME, WM8737_RVU, 561 WM8737_RVU); 562 | 1/* 2 * wm8737.c -- WM8737 ALSA SoC Audio driver 3 * 4 * Copyright 2010 Wolfson Microelectronics plc 5 * 6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 546 unchanged lines hidden (view full) --- 555 goto err_enable; 556 } 557 558 snd_soc_update_bits(codec, WM8737_LEFT_PGA_VOLUME, WM8737_LVU, 559 WM8737_LVU); 560 snd_soc_update_bits(codec, WM8737_RIGHT_PGA_VOLUME, WM8737_RVU, 561 WM8737_RVU); 562 |
563 wm8737_set_bias_level(codec, SND_SOC_BIAS_STANDBY); | 563 snd_soc_codec_force_bias_level(codec, SND_SOC_BIAS_STANDBY); |
564 565 /* Bias level configuration will have done an extra enable */ 566 regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), wm8737->supplies); 567 568 return 0; 569 570err_enable: 571 regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), wm8737->supplies); --- 182 unchanged lines hidden --- | 564 565 /* Bias level configuration will have done an extra enable */ 566 regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), wm8737->supplies); 567 568 return 0; 569 570err_enable: 571 regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), wm8737->supplies); --- 182 unchanged lines hidden --- |