]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/ca0132: add extra init functions for r3di + sbz
authorConnor McAdams <conmanx360@gmail.com>
Tue, 8 May 2018 17:20:05 +0000 (13:20 -0400)
committerTakashi Iwai <tiwai@suse.de>
Sun, 13 May 2018 07:29:28 +0000 (09:29 +0200)
commitcc296fb5f610e4cd629de09e666b2580dc47464b
tree1d62f7b098f60737feb79049eed22fca9d347546
parent299f97c6114285132f07ee6a81a825d0c0df914c
ALSA: hda/ca0132: add extra init functions for r3di + sbz

This patch adds extra init functions for the Sound Blaster Z and
Recon3Di. It also adds more checks to make sure that the DSP isn't
downloaded twice on startup, by checking if the dsp_state is already set
to DSP_DOWNLOADED. It also adds the ability to re-download the DSP on a
resume.

It also changes the init verbs table to apply to all codecs, and takes
the two specific end verbs and puts them into a separate function in
ca0132_init instead.

GPIO functions are also added.

Signed-off-by: Connor McAdams <conmanx360@gmail.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c