diff options
author | Pavel Hofman <pavel.hofman@ivitera.com> | 2009-09-17 00:25:36 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-09-21 17:44:51 +0400 |
commit | 8f34692f63d66805b51ff408f4067748d3c1c3fd (patch) | |
tree | dc2bd50fb2743b862c97bac848200bb8e26f0f53 /include/sound | |
parent | c0a9eedf9acafb083adf3ddbff0a1e4d6d9a6949 (diff) | |
download | linux-8f34692f63d66805b51ff408f4067748d3c1c3fd.tar.xz |
ALSA: ak4620 support, codec regs listed in proc
* complete support for ak4620
* codec regs listed in proc for all codecs/chips
* adding total regs for each codec
* fixing nb. of steps in input attenuation controls
Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/ak4xxx-adda.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sound/ak4xxx-adda.h b/include/sound/ak4xxx-adda.h index 891cf1aea8b1..030b87c2f6d4 100644 --- a/include/sound/ak4xxx-adda.h +++ b/include/sound/ak4xxx-adda.h @@ -68,7 +68,7 @@ struct snd_akm4xxx { enum { SND_AK4524, SND_AK4528, SND_AK4529, SND_AK4355, SND_AK4358, SND_AK4381, - SND_AK5365 + SND_AK5365, SND_AK4620, } type; /* (array) information of combined codecs */ @@ -76,6 +76,9 @@ struct snd_akm4xxx { const struct snd_akm4xxx_adc_channel *adc_info; struct snd_ak4xxx_ops ops; + unsigned int num_chips; + unsigned int total_regs; + const char *name; }; void snd_akm4xxx_write(struct snd_akm4xxx *ak, int chip, unsigned char reg, |