Skip to content

Commit 678ed6f

Browse files
Jack Yujack-cy-yu
authored andcommitted
ASoC: rt715: Remove unused control and modify function prototype regarding to warning message.
1 parent 5e7259b commit 678ed6f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sound/soc/codecs/rt715.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ static int rt715_set_amp_gain_get(struct snd_kcontrol *kcontrol,
203203
return 0;
204204
}
205205

206-
static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -6525, 75, 0);
207206
static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -1725, 75, 0);
208207
static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, 0, 1000, 0);
209208

@@ -371,7 +370,7 @@ static const char * const adc_22_23_mux_text[] = {
371370
* 1 will be connected to the same dmic source, therefore we skip index 1 to
372371
* avoid misunderstanding on usage of dapm routing.
373372
*/
374-
static const unsigned int rt715_adc_24_25_values[] = {
373+
static int rt715_adc_24_25_values[] = {
375374
0,
376375
2,
377376
3,

0 commit comments

Comments
 (0)