[PATCH v5 09/13] ALSA: hda/ca0132: add the ability to set src_id on scp commands

2018-05-08 Thread Connor McAdams
-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 86 +--- 1 file changed, 74 insertions(+), 12 deletions(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 7a9d505..878bbf7 100644 --- a/sound/p

[PATCH v5 12/13] ALSA: hda/ca0132: add ca0132_alt_set_vipsource

2018-05-08 Thread Connor McAdams
Add function to set vipsource on cards that use_alt_controls. Different sequence. Also, add cvoice_switch_set at end of ca0132_select_in so that when switching between inputs cvoice state is maintained. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.

[PATCH v5 09/13] ALSA: hda/ca0132: add the ability to set src_id on scp commands

2018-05-08 Thread Connor McAdams
-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 86 +--- 1 file changed, 74 insertions(+), 12 deletions(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 7a9d505..878bbf7 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b/sound

[PATCH v5 12/13] ALSA: hda/ca0132: add ca0132_alt_set_vipsource

2018-05-08 Thread Connor McAdams
Add function to set vipsource on cards that use_alt_controls. Different sequence. Also, add cvoice_switch_set at end of ca0132_select_in so that when switching between inputs cvoice state is maintained. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 74

[PATCH v5 07/13] ALSA: hda/ca0132: add dsp setup related commands for the sbz

2018-05-08 Thread Connor McAdams
Add dsp setup related functions for the Sound Blaster Z, along with other helper functions. Also, add sbz_dsp_startup_check, which fixes a bug where the card sometimes starts up and has no sound. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c

[PATCH v5 07/13] ALSA: hda/ca0132: add dsp setup related commands for the sbz

2018-05-08 Thread Connor McAdams
Add dsp setup related functions for the Sound Blaster Z, along with other helper functions. Also, add sbz_dsp_startup_check, which fixes a bug where the card sometimes starts up and has no sound. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 341

[PATCH v5 01/13] ALSA: hda/ca0132: R3Di and SBZ quirk entires + alt firmware loading

2018-05-08 Thread Connor McAdams
i.bin" and the Sound Blaster Z uses "ctefx-sbz.bin". If the alternative firmware for the given quirk is not found, the original ctefx.bin will be used. This has been confirmed to work for both the R3Di and the SBZ. This patch also makes the character array *dirstr a const. Signed-of

[PATCH v5 00/13] ALSA: hda/ca0132: Patch Series for Recon3Di and Sound Blaster Z Support

2018-05-08 Thread Connor McAdams
it in when it was actually used. v5: *** -Fixed issue identified by kbuild test robot, where patch 12 didn't compile individually. Connor McAdams (13): ALSA: hda/ca0132: R3Di and SBZ quirk entires + alt firmware loading ALSA: hda/ca0132: Add pincfg for SBZ + R3Di, add fp hp

[PATCH v5 01/13] ALSA: hda/ca0132: R3Di and SBZ quirk entires + alt firmware loading

2018-05-08 Thread Connor McAdams
i.bin" and the Sound Blaster Z uses "ctefx-sbz.bin". If the alternative firmware for the given quirk is not found, the original ctefx.bin will be used. This has been confirmed to work for both the R3Di and the SBZ. This patch also makes the character array *dirstr a const. Signed-of

[PATCH v5 00/13] ALSA: hda/ca0132: Patch Series for Recon3Di and Sound Blaster Z Support

2018-05-08 Thread Connor McAdams
it in when it was actually used. v5: *** -Fixed issue identified by kbuild test robot, where patch 12 didn't compile individually. Connor McAdams (13): ALSA: hda/ca0132: R3Di and SBZ quirk entires + alt firmware loading ALSA: hda/ca0132: Add pincfg for SBZ + R3Di, add fp hp

[PATCH v4 01/13] ALSA: hda/ca0132: R3Di and SBZ quirk entires + alt firmware loading

2018-05-07 Thread Connor McAdams
i.bin" and the Sound Blaster Z uses "ctefx-sbz.bin". If the alternative firmware for the given quirk is not found, the original ctefx.bin will be used. This has been confirmed to work for both the R3Di and the SBZ. This patch also makes the character array *dirstr a const. Signed-of

[PATCH v4 01/13] ALSA: hda/ca0132: R3Di and SBZ quirk entires + alt firmware loading

2018-05-07 Thread Connor McAdams
i.bin" and the Sound Blaster Z uses "ctefx-sbz.bin". If the alternative firmware for the given quirk is not found, the original ctefx.bin will be used. This has been confirmed to work for both the R3Di and the SBZ. This patch also makes the character array *dirstr a const. Signed-of

[PATCH v4 03/13] ALSA: hda/ca0132: Add PCI region2 iomap for SBZ

2018-05-07 Thread Connor McAdams
to unmap the iomem for the SBZ. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 02238fe..78d2c26 100644 --- a/sound/p

[PATCH v4 04/13] ALSA: hda/ca0132: Add extra exit functions for R3Di and SBZ

2018-05-07 Thread Connor McAdams
using the card through VFIO in a virtual machine, to make sure the card reloads the DSP properly. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 131 ++- 1 file changed, 129 insertions(+), 2 deletions(-) diff

[PATCH v4 04/13] ALSA: hda/ca0132: Add extra exit functions for R3Di and SBZ

2018-05-07 Thread Connor McAdams
using the card through VFIO in a virtual machine, to make sure the card reloads the DSP properly. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 131 ++- 1 file changed, 129 insertions(+), 2 deletions(-) diff --git a/sound/pci/hda

[PATCH v4 03/13] ALSA: hda/ca0132: Add PCI region2 iomap for SBZ

2018-05-07 Thread Connor McAdams
to unmap the iomem for the SBZ. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 02238fe..78d2c26 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b

[PATCH v4 00/13] ALSA: hda/ca0132: Patch Series for Recon3Di and Sound Blaster Z Support

2018-05-07 Thread Connor McAdams
it in when it was actually used. Connor McAdams (13): ALSA: hda/ca0132: R3Di and SBZ quirk entires + alt firmware loading ALSA: hda/ca0132: Add pincfg for SBZ + R3Di, add fp hp auto-detect ALSA: hda/ca0132: Add PCI region2 iomap for SBZ ALSA: hda/ca0132: Add extra exit functions for R3Di

[PATCH v4 00/13] ALSA: hda/ca0132: Patch Series for Recon3Di and Sound Blaster Z Support

2018-05-07 Thread Connor McAdams
it in when it was actually used. Connor McAdams (13): ALSA: hda/ca0132: R3Di and SBZ quirk entires + alt firmware loading ALSA: hda/ca0132: Add pincfg for SBZ + R3Di, add fp hp auto-detect ALSA: hda/ca0132: Add PCI region2 iomap for SBZ ALSA: hda/ca0132: Add extra exit functions for R3Di

[PATCH v4 07/13] ALSA: hda/ca0132: add dsp setup related commands for the sbz

2018-05-07 Thread Connor McAdams
Add dsp setup related functions for the Sound Blaster Z, along with other helper functions. Also, add sbz_dsp_startup_check, which fixes a bug where the card sometimes starts up and has no sound. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c

[PATCH v4 07/13] ALSA: hda/ca0132: add dsp setup related commands for the sbz

2018-05-07 Thread Connor McAdams
Add dsp setup related functions for the Sound Blaster Z, along with other helper functions. Also, add sbz_dsp_startup_check, which fixes a bug where the card sometimes starts up and has no sound. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 341

[PATCH v4 10/13] ALSA: hda/ca0132: add alt_select_in/out for R3Di + SBZ

2018-05-07 Thread Connor McAdams
Add functions ca0132_alt_select_out and ca0132_alt_select_in for switching outputs and inputs for r3di and sbz. Also, add enumerated controls for selecting output and input source. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c

[PATCH v4 08/13] ALSA: hda/ca0132: Add dsp setup + gpio functions for r3di

2018-05-07 Thread Connor McAdams
Adds dsp setup functions for Recon3Di as well as the GPIO functions specific to it. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 149 ++- 1 file changed, 148 insertions(+), 1 deletion(-) diff --git a/sou

[PATCH v4 08/13] ALSA: hda/ca0132: Add dsp setup + gpio functions for r3di

2018-05-07 Thread Connor McAdams
Adds dsp setup functions for Recon3Di as well as the GPIO functions specific to it. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 149 ++- 1 file changed, 148 insertions(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_ca0132.c b

[PATCH v4 10/13] ALSA: hda/ca0132: add alt_select_in/out for R3Di + SBZ

2018-05-07 Thread Connor McAdams
Add functions ca0132_alt_select_out and ca0132_alt_select_in for switching outputs and inputs for r3di and sbz. Also, add enumerated controls for selecting output and input source. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 625

[PATCH v4 09/13] ALSA: hda/ca0132: add the ability to set src_id on scp commands

2018-05-07 Thread Connor McAdams
-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 86 +--- 1 file changed, 74 insertions(+), 12 deletions(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 7a9d505..878bbf7 100644 --- a/sound/p

[PATCH v4 09/13] ALSA: hda/ca0132: add the ability to set src_id on scp commands

2018-05-07 Thread Connor McAdams
-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 86 +--- 1 file changed, 74 insertions(+), 12 deletions(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 7a9d505..878bbf7 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b/sound

[PATCH v4 12/13] ALSA: hda/ca0132: add ca0132_alt_set_vipsource

2018-05-07 Thread Connor McAdams
Add function to set vipsource on cards that use_alt_controls. Different sequence. Also, add cvoice_switch_set at end of ca0132_select_in so that when switching between inputs cvoice state is maintained. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.

[PATCH v4 12/13] ALSA: hda/ca0132: add ca0132_alt_set_vipsource

2018-05-07 Thread Connor McAdams
Add function to set vipsource on cards that use_alt_controls. Different sequence. Also, add cvoice_switch_set at end of ca0132_select_in so that when switching between inputs cvoice state is maintained. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 71

[PATCH v4 13/13] ALSA: hda/ca0132: Add new control changes for SBZ + R3Di

2018-05-07 Thread Connor McAdams
ier+ker...@gmail.com> Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 761 ++- 1 file changed, 751 insertions(+), 10 deletions(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c i

[PATCH v4 13/13] ALSA: hda/ca0132: Add new control changes for SBZ + R3Di

2018-05-07 Thread Connor McAdams
-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 761 ++- 1 file changed, 751 insertions(+), 10 deletions(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 12c4548..a9ca7ca 100644 --- a/sound/pci/hda/patch_ca0132.c

[PATCH v4 11/13] ALSA: hda/ca0132: Add DSP Volume set and New mixers for SBZ + R3Di

2018-05-07 Thread Connor McAdams
Adds lookup table for floating point decibel volume, and new functions to allow for setting the decibel level on the DSP. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 203 ++- 1 file changed, 202 insertions

[PATCH v4 11/13] ALSA: hda/ca0132: Add DSP Volume set and New mixers for SBZ + R3Di

2018-05-07 Thread Connor McAdams
Adds lookup table for floating point decibel volume, and new functions to allow for setting the decibel level on the DSP. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 203 ++- 1 file changed, 202 insertions(+), 1 deletion(-) diff

[PATCH v4 06/13] ALSA: hda/ca0132: update core functions for sbz + r3di

2018-05-07 Thread Connor McAdams
This patch updates core functions to accommodate the Sound Blaster Z and Recon3Di by changing which functions they use. It also adds the ability to enable/disable streams. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c

[PATCH v4 06/13] ALSA: hda/ca0132: update core functions for sbz + r3di

2018-05-07 Thread Connor McAdams
This patch updates core functions to accommodate the Sound Blaster Z and Recon3Di by changing which functions they use. It also adds the ability to enable/disable streams. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 176 +-- 1 file

[PATCH v4 02/13] ALSA: hda/ca0132: Add pincfg for SBZ + R3Di, add fp hp auto-detect

2018-05-07 Thread Connor McAdams
the R3Di and SBZ are also given a max out channel value of 6 to handle 5.1 surround sound in later patches. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 111 +-- 1 file changed, 108 insertions(+), 3 deletions(-)

[PATCH v4 05/13] ALSA: hda/ca0132: add extra init functions for r3di + sbz

2018-05-07 Thread Connor McAdams
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 <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c

[PATCH v4 02/13] ALSA: hda/ca0132: Add pincfg for SBZ + R3Di, add fp hp auto-detect

2018-05-07 Thread Connor McAdams
the R3Di and SBZ are also given a max out channel value of 6 to handle 5.1 surround sound in later patches. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 111 +-- 1 file changed, 108 insertions(+), 3 deletions(-) diff --git a/sound/pci/hda

[PATCH v4 05/13] ALSA: hda/ca0132: add extra init functions for r3di + sbz

2018-05-07 Thread Connor McAdams
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 --- sound/pci/hda/patch_ca0132.c | 273 +-- 1

Re: [PATCH v3 5/9] ALSA: hda/ca0132: add/change helper functions for R3Di and SBZ

2018-05-07 Thread Connor McAdams
Just to make sure, do you mean that I need to add more comments to the SBZ and R3Di changes, or are they good as is? Thanks, Connor. On Sun, May 6, 2018 at 10:29 PM, Takashi Sakamoto <o-taka...@sakamocchi.jp> wrote: > Hi, > > On May 6 2018 04:03, Connor McAdams wrote: >> &

Re: [PATCH v3 5/9] ALSA: hda/ca0132: add/change helper functions for R3Di and SBZ

2018-05-07 Thread Connor McAdams
Just to make sure, do you mean that I need to add more comments to the SBZ and R3Di changes, or are they good as is? Thanks, Connor. On Sun, May 6, 2018 at 10:29 PM, Takashi Sakamoto wrote: > Hi, > > On May 6 2018 04:03, Connor McAdams wrote: >> >> Edit core functions

[PATCH v3 2/9] ALSA: hda/ca0132: Add pincfg for SBZ + R3Di, add fp hp auto-detect

2018-05-05 Thread Connor McAdams
the R3Di and SBZ are also given a max out channel value of 6 to handle 5.1 surround sound in later patches. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 111 +-- 1 file changed, 108 insertions(+), 3 deletions(-)

[PATCH v3 2/9] ALSA: hda/ca0132: Add pincfg for SBZ + R3Di, add fp hp auto-detect

2018-05-05 Thread Connor McAdams
the R3Di and SBZ are also given a max out channel value of 6 to handle 5.1 surround sound in later patches. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 111 +-- 1 file changed, 108 insertions(+), 3 deletions(-) diff --git a/sound/pci/hda

[PATCH v3 3/9] ALSA: hda/ca0132: Add PCI region2 iomap for SBZ

2018-05-05 Thread Connor McAdams
to unmap the iomem for the SBZ. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 02238fe..78d2c26 100644 --- a/sound/p

[PATCH v3 3/9] ALSA: hda/ca0132: Add PCI region2 iomap for SBZ

2018-05-05 Thread Connor McAdams
to unmap the iomem for the SBZ. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 02238fe..78d2c26 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b

[PATCH v3 7/9] ALSA: hda/ca0132: Add DSP Volume set and New mixers for SBZ + R3Di

2018-05-05 Thread Connor McAdams
Adds lookup table for floating point decibel volume, and new functions to allow for setting the decibel level on the DSP. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 203 ++- 1 file changed, 202 insertions

[PATCH v3 8/9] ALSA: hda/ca0132: add ca0132_alt_set_vipsource

2018-05-05 Thread Connor McAdams
Add function to set vipsource on cards that use_alt_controls. Different sequence. Also, add cvoice_switch_set at end of ca0132_select_in so that when switching between inputs cvoice state is maintained. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.

[PATCH v3 7/9] ALSA: hda/ca0132: Add DSP Volume set and New mixers for SBZ + R3Di

2018-05-05 Thread Connor McAdams
Adds lookup table for floating point decibel volume, and new functions to allow for setting the decibel level on the DSP. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 203 ++- 1 file changed, 202 insertions(+), 1 deletion(-) diff

[PATCH v3 8/9] ALSA: hda/ca0132: add ca0132_alt_set_vipsource

2018-05-05 Thread Connor McAdams
Add function to set vipsource on cards that use_alt_controls. Different sequence. Also, add cvoice_switch_set at end of ca0132_select_in so that when switching between inputs cvoice state is maintained. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 71

[PATCH v3 5/9] ALSA: hda/ca0132: add/change helper functions for R3Di and SBZ

2018-05-05 Thread Connor McAdams
Edit core functions to support the Sound Blaster Z and Recon3Di for startup and loading of the DSP, as well as setting effects. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 1064 -- 1 file changed, 1018 inse

[PATCH v3 5/9] ALSA: hda/ca0132: add/change helper functions for R3Di and SBZ

2018-05-05 Thread Connor McAdams
Edit core functions to support the Sound Blaster Z and Recon3Di for startup and loading of the DSP, as well as setting effects. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 1064 -- 1 file changed, 1018 insertions(+), 46 deletions

[PATCH v3 9/9] ALSA: hda/ca0132: Add new control changes for SBZ + R3Di

2018-05-05 Thread Connor McAdams
ier+ker...@gmail.com> Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 758 ++- 1 file changed, 748 insertions(+), 10 deletions(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c i

[PATCH v3 9/9] ALSA: hda/ca0132: Add new control changes for SBZ + R3Di

2018-05-05 Thread Connor McAdams
-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 758 ++- 1 file changed, 748 insertions(+), 10 deletions(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index c1753b2..566ec9c 100644 --- a/sound/pci/hda/patch_ca0132.c

[PATCH v3 1/9] ALSA: hda/ca0132: R3Di and SBZ quirk entires + alt firmware loading

2018-05-05 Thread Connor McAdams
i.bin" and the Sound Blaster Z uses "ctefx-sbz.bin". If the alternative firmware for the given quirk is not found, the original ctefx.bin will be used. This has been confirmed to work for both the R3Di and the SBZ. This patch also makes the character array *dirstr a const. Signed-of

[PATCH v3 1/9] ALSA: hda/ca0132: R3Di and SBZ quirk entires + alt firmware loading

2018-05-05 Thread Connor McAdams
i.bin" and the Sound Blaster Z uses "ctefx-sbz.bin". If the alternative firmware for the given quirk is not found, the original ctefx.bin will be used. This has been confirmed to work for both the R3Di and the SBZ. This patch also makes the character array *dirstr a const. Signed-of

[PATCH v3 4/9] ALSA: hda/ca0132: Add extra exit functions for R3Di and SBZ

2018-05-05 Thread Connor McAdams
using the card through VFIO in a virtual machine, to make sure the card reloads the DSP properly. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 131 ++- 1 file changed, 129 insertions(+), 2 deletions(-) diff

[PATCH v3 4/9] ALSA: hda/ca0132: Add extra exit functions for R3Di and SBZ

2018-05-05 Thread Connor McAdams
using the card through VFIO in a virtual machine, to make sure the card reloads the DSP properly. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 131 ++- 1 file changed, 129 insertions(+), 2 deletions(-) diff --git a/sound/pci/hda

[PATCH v3 0/9] ALSA: hda/ca0132: Patch Series for Recon3Di and Sound Blaster Z Support

2018-05-05 Thread Connor McAdams
incorrectly identified as a Sound Blaster Z. -Remove commented out commands in sbz_exit_chip function, only reintroduce them when their functions are defined. Connor McAdams (9): ALSA: hda/ca0132: R3Di and SBZ quirk entires + alt firmware loading ALSA: hda/ca0132: Add pincfg for SBZ + R3Di

[PATCH v3 6/9] ALSA: hda/ca0132: add alt_select_in/out for R3Di + SBZ

2018-05-05 Thread Connor McAdams
Add functions ca0132_alt_select_out and ca0132_alt_select_in for switching outputs and inputs for r3di and sbz. Also, add enumerated controls for selecting output and input source. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c

[PATCH v3 0/9] ALSA: hda/ca0132: Patch Series for Recon3Di and Sound Blaster Z Support

2018-05-05 Thread Connor McAdams
incorrectly identified as a Sound Blaster Z. -Remove commented out commands in sbz_exit_chip function, only reintroduce them when their functions are defined. Connor McAdams (9): ALSA: hda/ca0132: R3Di and SBZ quirk entires + alt firmware loading ALSA: hda/ca0132: Add pincfg for SBZ + R3Di

[PATCH v3 6/9] ALSA: hda/ca0132: add alt_select_in/out for R3Di + SBZ

2018-05-05 Thread Connor McAdams
Add functions ca0132_alt_select_out and ca0132_alt_select_in for switching outputs and inputs for r3di and sbz. Also, add enumerated controls for selecting output and input source. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 597

Re: [PATCH 1/9] R3Di and SBZ quirk entires + alt firmware loading

2018-05-03 Thread Connor McAdams
to learn. Thanks, Connor On Fri, May 4, 2018 at 12:19 AM, Connor McAdams <conmanx...@gmail.com> wrote: > This patch adds PCI quirk ID's for the Sound Blaster Z and Recon3Di. > Only the currently tested ID's have been added. > > This patch also adds the ability to load alternative

Re: [PATCH 1/9] R3Di and SBZ quirk entires + alt firmware loading

2018-05-03 Thread Connor McAdams
to learn. Thanks, Connor On Fri, May 4, 2018 at 12:19 AM, Connor McAdams wrote: > This patch adds PCI quirk ID's for the Sound Blaster Z and Recon3Di. > Only the currently tested ID's have been added. > > This patch also adds the ability to load alternative firmwares for each > card

[PATCH 1/9] R3Di and SBZ quirk entires + alt firmware loading

2018-05-03 Thread Connor McAdams
i.bin" and the Sound Blaster Z uses "ctefx-sbz.bin". If the alternative firmware for the given quirk is not found, the original ctefx.bin will be used. This has been confirmed to work for both the R3Di and the SBZ. This patch also makes the character array *dirstr a const. Signed-of

[PATCH 1/9] R3Di and SBZ quirk entires + alt firmware loading

2018-05-03 Thread Connor McAdams
i.bin" and the Sound Blaster Z uses "ctefx-sbz.bin". If the alternative firmware for the given quirk is not found, the original ctefx.bin will be used. This has been confirmed to work for both the R3Di and the SBZ. This patch also makes the character array *dirstr a const. Signed-of

[PATCH 2/9] Add pincfg for SBZ + R3Di, add fp hp auto-detect

2018-05-03 Thread Connor McAdams
the R3Di and SBZ are also given a max out channel value of 6 to handle 5.1 surround sound in later patches. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 111 +-- 1 file changed, 108 insertions(+), 3 deletions(-)

[PATCH 2/9] Add pincfg for SBZ + R3Di, add fp hp auto-detect

2018-05-03 Thread Connor McAdams
the R3Di and SBZ are also given a max out channel value of 6 to handle 5.1 surround sound in later patches. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 111 +-- 1 file changed, 108 insertions(+), 3 deletions(-) diff --git a/sound/pci/hda

[PATCH 4/9] Add extra exit functions for R3Di and SBZ

2018-05-03 Thread Connor McAdams
using the card through VFIO in a virtual machine, to make sure the card reloads the DSP properly. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 126 +++ 1 file changed, 126 insertions(+) diff --git a/sound/p

[PATCH 4/9] Add extra exit functions for R3Di and SBZ

2018-05-03 Thread Connor McAdams
using the card through VFIO in a virtual machine, to make sure the card reloads the DSP properly. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 126 +++ 1 file changed, 126 insertions(+) diff --git a/sound/pci/hda/patch_ca0132.c b/sound

[PATCH 5/9] add/change helper functions for R3Di and SBZ

2018-05-03 Thread Connor McAdams
Edit core functions to support the Sound Blaster Z and Recon3Di for startup and loading of the DSP, as well as setting effects. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 1070 -- 1 file changed, 1018 inse

[PATCH 5/9] add/change helper functions for R3Di and SBZ

2018-05-03 Thread Connor McAdams
Edit core functions to support the Sound Blaster Z and Recon3Di for startup and loading of the DSP, as well as setting effects. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 1070 -- 1 file changed, 1018 insertions(+), 52 deletions

[PATCH 6/9] add alt_select_in/out for R3Di + SBZ

2018-05-03 Thread Connor McAdams
Add functions ca0132_alt_select_out and ca0132_alt_select_in for switching outputs and inputs for r3di and sbz. Also, add enumerated controls for selecting output and input source. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c

[PATCH 6/9] add alt_select_in/out for R3Di + SBZ

2018-05-03 Thread Connor McAdams
Add functions ca0132_alt_select_out and ca0132_alt_select_in for switching outputs and inputs for r3di and sbz. Also, add enumerated controls for selecting output and input source. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 597

[PATCH 8/9] add ca0132_alt_set_vipsource

2018-05-03 Thread Connor McAdams
Add function to set vipsource on cards that use_alt_controls. Different sequence. Also, add cvoice_switch_set at end of ca0132_select_in so that when switching between inputs cvoice state is maintained. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.

[PATCH 8/9] add ca0132_alt_set_vipsource

2018-05-03 Thread Connor McAdams
Add function to set vipsource on cards that use_alt_controls. Different sequence. Also, add cvoice_switch_set at end of ca0132_select_in so that when switching between inputs cvoice state is maintained. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 71

[PATCH 9/9] Add new control changes for SBZ + R3Di

2018-05-03 Thread Connor McAdams
ier+ker...@gmail.com> Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 758 ++- 1 file changed, 748 insertions(+), 10 deletions(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c i

[PATCH 9/9] Add new control changes for SBZ + R3Di

2018-05-03 Thread Connor McAdams
-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 758 ++- 1 file changed, 748 insertions(+), 10 deletions(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 77a7704..19397d6 100644 --- a/sound/pci/hda/patch_ca0132.c

[PATCH 3/9] Add PCI region2 iomap for SBZ

2018-05-03 Thread Connor McAdams
to unmap the iomem for the SBZ. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 30 -- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 02238fe..6

[PATCH 7/9] Add DSP Volume set and New mixers for SBZ + R3Di

2018-05-03 Thread Connor McAdams
Adds lookup table for floating point decibel volume, and new functions to allow for setting the decibel level on the DSP. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 203 ++- 1 file changed, 202 insertions

[PATCH 3/9] Add PCI region2 iomap for SBZ

2018-05-03 Thread Connor McAdams
to unmap the iomem for the SBZ. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 30 -- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 02238fe..68e5122 100644 --- a/sound

[PATCH 7/9] Add DSP Volume set and New mixers for SBZ + R3Di

2018-05-03 Thread Connor McAdams
Adds lookup table for floating point decibel volume, and new functions to allow for setting the decibel level on the DSP. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 203 ++- 1 file changed, 202 insertions(+), 1 deletion(-) diff

[PATCH 3/9] Add PCI region2 iomap for SBZ

2018-05-03 Thread Connor McAdams
to unmap the iomem for the SBZ. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 30 -- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 9347c9d..2

[PATCH 3/9] Add PCI region2 iomap for SBZ

2018-05-03 Thread Connor McAdams
to unmap the iomem for the SBZ. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 30 -- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 9347c9d..2f7f964 100644 --- a/sound

[PATCH 8/9] add ca0132_alt_set_vipsource

2018-05-03 Thread Connor McAdams
Add function to set vipsource on cards that use_alt_controls. Different sequence. Also, add cvoice_switch_set at end of ca0132_select_in so that when switching between inputs cvoice state is maintained. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.

[PATCH 8/9] add ca0132_alt_set_vipsource

2018-05-03 Thread Connor McAdams
Add function to set vipsource on cards that use_alt_controls. Different sequence. Also, add cvoice_switch_set at end of ca0132_select_in so that when switching between inputs cvoice state is maintained. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 72

[PATCH 7/9] Add DSP Volume set and New mixers for SBZ + R3Di

2018-05-03 Thread Connor McAdams
Adds lookup table for floating point decibel volume, and new functions to allow for setting the decibel level on the DSP. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 198 ++- 1 file changed, 197 insertions

[PATCH 7/9] Add DSP Volume set and New mixers for SBZ + R3Di

2018-05-03 Thread Connor McAdams
Adds lookup table for floating point decibel volume, and new functions to allow for setting the decibel level on the DSP. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 198 ++- 1 file changed, 197 insertions(+), 1 deletion(-) diff

[PATCH 5/9] add/change helper functions for R3Di and SBZ

2018-05-03 Thread Connor McAdams
Edit core functions to support the Sound Blaster Z and Recon3Di for startup and loading of the DSP, as well as setting effects. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 1117 ++ 1 file changed, 1034 inse

[PATCH 5/9] add/change helper functions for R3Di and SBZ

2018-05-03 Thread Connor McAdams
Edit core functions to support the Sound Blaster Z and Recon3Di for startup and loading of the DSP, as well as setting effects. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 1117 ++ 1 file changed, 1034 insertions(+), 83 deletions

[PATCH 9/9] Add new control changes for SBZ + R3Di

2018-05-03 Thread Connor McAdams
This patch adds new controls to set the effect levels on the R3Di and SBZ. It also adds vmaster controls to control all surround sound channels. So that Surround effect switch doesn't conflict with Surround volume, FX: prefix added to all effect related switches. Signed-off-by: Connor McAdams

[PATCH 9/9] Add new control changes for SBZ + R3Di

2018-05-03 Thread Connor McAdams
This patch adds new controls to set the effect levels on the R3Di and SBZ. It also adds vmaster controls to control all surround sound channels. So that Surround effect switch doesn't conflict with Surround volume, FX: prefix added to all effect related switches. Signed-off-by: Connor McAdams

[PATCH 1/9] R3Di and SBZ quirk entires + alt firmware loading

2018-05-03 Thread Connor McAdams
i.bin" and the Sound Blaster Z uses "ctefx-sbz.bin". If the alternative firmware for the given quirk is not found, the original ctefx.bin will be used. This has been confirmed to work for both the R3Di and the SBZ. This patch also makes the character array *dirstr a const. Signed-of

[PATCH 4/9] Add extra exit functions for R3Di and SBZ

2018-05-03 Thread Connor McAdams
using the card through VFIO in a virtual machine, to make sure the card reloads the DSP properly. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 136 +++ 1 file changed, 136 insertions(+) diff --git a/sound/p

[PATCH 1/9] R3Di and SBZ quirk entires + alt firmware loading

2018-05-03 Thread Connor McAdams
i.bin" and the Sound Blaster Z uses "ctefx-sbz.bin". If the alternative firmware for the given quirk is not found, the original ctefx.bin will be used. This has been confirmed to work for both the R3Di and the SBZ. This patch also makes the character array *dirstr a const. Signed-of

[PATCH 4/9] Add extra exit functions for R3Di and SBZ

2018-05-03 Thread Connor McAdams
using the card through VFIO in a virtual machine, to make sure the card reloads the DSP properly. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 136 +++ 1 file changed, 136 insertions(+) diff --git a/sound/pci/hda/patch_ca0132.c b/sound

[PATCH 2/9] Add pincfg for SBZ + R3Di, add fp hp auto-detect

2018-05-03 Thread Connor McAdams
the R3Di and SBZ are also given a max out channel value of 6 to handle 5.1 surround sound in later patches. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c | 111 +-- 1 file changed, 108 insertions(+), 3 deletions(-)

[PATCH 2/9] Add pincfg for SBZ + R3Di, add fp hp auto-detect

2018-05-03 Thread Connor McAdams
the R3Di and SBZ are also given a max out channel value of 6 to handle 5.1 surround sound in later patches. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 111 +-- 1 file changed, 108 insertions(+), 3 deletions(-) diff --git a/sound/pci/hda

[PATCH 6/9] add alt_select_in/out for R3Di + SBZ

2018-05-03 Thread Connor McAdams
Add functions ca0132_alt_select_out and ca0132_alt_select_in for switching outputs and inputs for r3di and sbz. Also, add enumerated controls for selecting output and input source. Signed-off-by: Connor McAdams <conmanx...@gmail.com> --- sound/pci/hda/patch_ca0132.c

[PATCH 6/9] add alt_select_in/out for R3Di + SBZ

2018-05-03 Thread Connor McAdams
Add functions ca0132_alt_select_out and ca0132_alt_select_in for switching outputs and inputs for r3di and sbz. Also, add enumerated controls for selecting output and input source. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 598

<    1   2   3