summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorPavel Hofman <pavel.hofman@ivitera.com>2009-09-16 22:25:36 +0200
committerTakashi Iwai <tiwai@suse.de>2009-09-21 15:44:51 +0200
commit8f34692f63d66805b51ff408f4067748d3c1c3fd (patch)
treedc2bd50fb2743b862c97bac848200bb8e26f0f53 /include/sound
parentc0a9eedf9acafb083adf3ddbff0a1e4d6d9a6949 (diff)
downloadlinux-3.10-8f34692f63d66805b51ff408f4067748d3c1c3fd.tar.gz
linux-3.10-8f34692f63d66805b51ff408f4067748d3c1c3fd.tar.bz2
linux-3.10-8f34692f63d66805b51ff408f4067748d3c1c3fd.zip
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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sound/ak4xxx-adda.h b/include/sound/ak4xxx-adda.h
index 891cf1aea8b..030b87c2f6d 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,