[ALSA] Allow 8-44khz sample rates on Revolution 7.1
Modules: ICE1724 driver Remove the restcition of sample rates on Revolution 7.1 board. This enables the low 8-44kHz sample rates. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
2b3e584b92
commit
c168143c45
@ -128,17 +128,6 @@ static struct snd_ak4xxx_private akm_revo_surround_priv __devinitdata = {
|
||||
.mask_flags = 0,
|
||||
};
|
||||
|
||||
static unsigned int rates[] = {
|
||||
32000, 44100, 48000, 64000, 88200, 96000,
|
||||
176400, 192000,
|
||||
};
|
||||
|
||||
static snd_pcm_hw_constraint_list_t revo_rates = {
|
||||
.count = ARRAY_SIZE(rates),
|
||||
.list = rates,
|
||||
.mask = 0,
|
||||
};
|
||||
|
||||
static int __devinit revo_init(ice1712_t *ice)
|
||||
{
|
||||
akm4xxx_t *ak;
|
||||
@ -173,8 +162,6 @@ static int __devinit revo_init(ice1712_t *ice)
|
||||
break;
|
||||
}
|
||||
|
||||
ice->hw_rates = &revo_rates; /* AK codecs don't support lower than 32k */
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user