sta350.c (b3e5ced63e051e8f911b795ac5b06229a5328f7b) | sta350.c (bd1204cb51f15d202f95222e873a94ed5d07b784) |
---|---|
1/* 2 * Codec driver for ST STA350 2.1-channel high-efficiency digital audio system 3 * 4 * Copyright: 2014 Raumfeld GmbH 5 * Author: Sven Brandau <info@brandau.biz> 6 * 7 * based on code from: 8 * Raumfeld GmbH --- 1023 unchanged lines hidden (view full) --- 1032 for (i = 50; i <= 54; i++) 1033 sta350->coef_shadow[i] = 0x7fffff; 1034 sta350->coef_shadow[55] = 0x5a9df7; 1035 sta350->coef_shadow[56] = 0x7fffff; 1036 sta350->coef_shadow[59] = 0x7fffff; 1037 sta350->coef_shadow[60] = 0x400000; 1038 sta350->coef_shadow[61] = 0x400000; 1039 | 1/* 2 * Codec driver for ST STA350 2.1-channel high-efficiency digital audio system 3 * 4 * Copyright: 2014 Raumfeld GmbH 5 * Author: Sven Brandau <info@brandau.biz> 6 * 7 * based on code from: 8 * Raumfeld GmbH --- 1023 unchanged lines hidden (view full) --- 1032 for (i = 50; i <= 54; i++) 1033 sta350->coef_shadow[i] = 0x7fffff; 1034 sta350->coef_shadow[55] = 0x5a9df7; 1035 sta350->coef_shadow[56] = 0x7fffff; 1036 sta350->coef_shadow[59] = 0x7fffff; 1037 sta350->coef_shadow[60] = 0x400000; 1038 sta350->coef_shadow[61] = 0x400000; 1039 |
1040 sta350_set_bias_level(codec, SND_SOC_BIAS_STANDBY); | 1040 snd_soc_codec_force_bias_level(codec, SND_SOC_BIAS_STANDBY); |
1041 /* Bias level configuration will have done an extra enable */ 1042 regulator_bulk_disable(ARRAY_SIZE(sta350->supplies), sta350->supplies); 1043 1044 return 0; 1045} 1046 1047static int sta350_remove(struct snd_soc_codec *codec) 1048{ --- 232 unchanged lines hidden --- | 1041 /* Bias level configuration will have done an extra enable */ 1042 regulator_bulk_disable(ARRAY_SIZE(sta350->supplies), sta350->supplies); 1043 1044 return 0; 1045} 1046 1047static int sta350_remove(struct snd_soc_codec *codec) 1048{ --- 232 unchanged lines hidden --- |