mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
parent
c0a9eedf9a
commit
8f34692f63
3 changed files with 108 additions and 54 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue