OSDN Git Service

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)
commite93ac30a32a6ba7ac3b4b2a4379af1dadb91e505
tree1d62f7b098f60737feb79049eed22fca9d347546
parent2e48b2b7a29e391a61137d00ea1aa2a1623ba728
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