From c4116ae717d6456884232642bae806125d39f1d3 Mon Sep 17 00:00:00 2001 From: Pavel Hofman Date: Thu, 5 Apr 2007 17:07:30 +0200 Subject: [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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- include/sound/ak4114.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sound/ak4114.h') diff --git a/include/sound/ak4114.h b/include/sound/ak4114.h index 54a5a425302..d647dae912b 100644 --- a/include/sound/ak4114.h +++ b/include/sound/ak4114.h @@ -158,7 +158,7 @@ #define AK4114_CHECK_NO_STAT (1<<0) /* no statistics */ #define AK4114_CHECK_NO_RATE (1<<1) /* no rate check */ -#define AK4114_CONTROLS 14 +#define AK4114_CONTROLS 15 typedef void (ak4114_write_t)(void *private_data, unsigned char addr, unsigned char data); typedef unsigned char (ak4114_read_t)(void *private_data, unsigned char addr); -- cgit v1.2.3-70-g09d2