| .. | .. |
|---|
| 1066 | 1066 | return 0; |
|---|
| 1067 | 1067 | } |
|---|
| 1068 | 1068 | |
|---|
| 1069 | | -/* DAPM Kcontrols */ |
|---|
| 1070 | | -static const struct snd_kcontrol_new mt_lineout_control = |
|---|
| 1071 | | - SOC_DAPM_SINGLE("Switch", MT6351_AUDDEC_ANA_CON3, |
|---|
| 1072 | | - RG_AUDLOLPWRUP_VAUDP32_BIT, 1, 0); |
|---|
| 1073 | | - |
|---|
| 1074 | 1069 | /* DAPM Widgets */ |
|---|
| 1075 | 1070 | static const struct snd_soc_dapm_widget mt6351_dapm_widgets[] = { |
|---|
| 1076 | 1071 | /* Digital Clock */ |
|---|
| .. | .. |
|---|
| 1415 | 1410 | |
|---|
| 1416 | 1411 | static int mt6351_codec_init_reg(struct snd_soc_component *cmpnt) |
|---|
| 1417 | 1412 | { |
|---|
| 1418 | | - int ret = 0; |
|---|
| 1419 | | - |
|---|
| 1420 | 1413 | /* Disable CLKSQ 26MHz */ |
|---|
| 1421 | 1414 | regmap_update_bits(cmpnt->regmap, MT6351_TOP_CLKSQ, 0x0001, 0x0); |
|---|
| 1422 | 1415 | /* disable AUDGLB */ |
|---|
| .. | .. |
|---|
| 1434 | 1427 | /* Reverse the PMIC clock*/ |
|---|
| 1435 | 1428 | regmap_update_bits(cmpnt->regmap, MT6351_AFE_PMIC_NEWIF_CFG2, |
|---|
| 1436 | 1429 | 0x8000, 0x8000); |
|---|
| 1437 | | - return ret; |
|---|
| 1430 | + return 0; |
|---|
| 1438 | 1431 | } |
|---|
| 1439 | 1432 | |
|---|
| 1440 | 1433 | static int mt6351_codec_probe(struct snd_soc_component *cmpnt) |
|---|