diff options
author | Pavel Hofman <dustin@seznam.cz> | 2007-04-05 11:07:30 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-05-11 10:55:57 -0400 |
commit | c4116ae717d6456884232642bae806125d39f1d3 (patch) | |
tree | a60ed2867b07e8dcb8fe96a7c37e6c28d954b9c4 /include/sound/ak4114.h | |
parent | 208eee2a9db7e70109583e3481371967cd1d4764 (diff) |
[ALSA] Fix misc bugs in i2c/others/ak4114.c
* correct register for 'IEC958 Non-PCM Bitstream', 'IEC958 DTS Bitstream'
to use AK4114_REG_RCS0
* correct check for control name: if (strstr(kctl->id.name, 'Playback'))
* correct check: if (!chip->init) in snd_ak4114_external_rate
* added PCM control 'IEC958 PPL Lock Status'
Signed-off-by: Pavel Hofman <dustin@seznam.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'include/sound/ak4114.h')
-rw-r--r-- | include/sound/ak4114.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/ak4114.h b/include/sound/ak4114.h index 54a5a425302a..d647dae912b9 100644 --- a/include/sound/ak4114.h +++ b/include/sound/ak4114.h | |||
@@ -158,7 +158,7 @@ | |||
158 | #define AK4114_CHECK_NO_STAT (1<<0) /* no statistics */ | 158 | #define AK4114_CHECK_NO_STAT (1<<0) /* no statistics */ |
159 | #define AK4114_CHECK_NO_RATE (1<<1) /* no rate check */ | 159 | #define AK4114_CHECK_NO_RATE (1<<1) /* no rate check */ |
160 | 160 | ||
161 | #define AK4114_CONTROLS 14 | 161 | #define AK4114_CONTROLS 15 |
162 | 162 | ||
163 | typedef void (ak4114_write_t)(void *private_data, unsigned char addr, unsigned char data); | 163 | typedef void (ak4114_write_t)(void *private_data, unsigned char addr, unsigned char data); |
164 | typedef unsigned char (ak4114_read_t)(void *private_data, unsigned char addr); | 164 | typedef unsigned char (ak4114_read_t)(void *private_data, unsigned char addr); |