mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[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 <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
This commit is contained in:
parent
208eee2a9d
commit
c4116ae717
2 changed files with 16 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue