@@ -4997,6 +4997,15 @@ static int ca0132_alt_select_in(struct hda_codec *codec)
4997
4997
ca0113_mmio_command_set (codec , 0x30 , 0x28 , 0x00 );
4998
4998
tmp = FLOAT_THREE ;
4999
4999
break ;
5000
+ case QUIRK_AE7 :
5001
+ ca0113_mmio_command_set (codec , 0x30 , 0x28 , 0x00 );
5002
+ tmp = FLOAT_THREE ;
5003
+ chipio_set_conn_rate (codec , MEM_CONNID_MICIN2 ,
5004
+ SR_96_000 );
5005
+ chipio_set_conn_rate (codec , MEM_CONNID_MICOUT2 ,
5006
+ SR_96_000 );
5007
+ dspio_set_uint_param (codec , 0x80 , 0x01 , FLOAT_ZERO );
5008
+ break ;
5000
5009
default :
5001
5010
tmp = FLOAT_ONE ;
5002
5011
break ;
@@ -5042,6 +5051,14 @@ static int ca0132_alt_select_in(struct hda_codec *codec)
5042
5051
case QUIRK_AE5 :
5043
5052
ca0113_mmio_command_set (codec , 0x30 , 0x28 , 0x00 );
5044
5053
break ;
5054
+ case QUIRK_AE7 :
5055
+ ca0113_mmio_command_set (codec , 0x30 , 0x28 , 0x3f );
5056
+ chipio_set_conn_rate (codec , MEM_CONNID_MICIN2 ,
5057
+ SR_96_000 );
5058
+ chipio_set_conn_rate (codec , MEM_CONNID_MICOUT2 ,
5059
+ SR_96_000 );
5060
+ dspio_set_uint_param (codec , 0x80 , 0x01 , FLOAT_ZERO );
5061
+ break ;
5045
5062
default :
5046
5063
break ;
5047
5064
}
@@ -5051,7 +5068,10 @@ static int ca0132_alt_select_in(struct hda_codec *codec)
5051
5068
if (ca0132_quirk (spec ) == QUIRK_R3DI )
5052
5069
chipio_set_conn_rate (codec , 0x0F , SR_96_000 );
5053
5070
5054
- tmp = FLOAT_ZERO ;
5071
+ if (ca0132_quirk (spec ) == QUIRK_AE7 )
5072
+ tmp = FLOAT_THREE ;
5073
+ else
5074
+ tmp = FLOAT_ZERO ;
5055
5075
dspio_set_uint_param (codec , 0x80 , 0x00 , tmp );
5056
5076
5057
5077
switch (ca0132_quirk (spec )) {
0 commit comments