diff options
author | Eliot Blennerhassett <eblennerhassett@audioscience.com> | 2011-07-22 05:52:42 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-07-22 07:49:23 +0200 |
commit | 95a4c6e785bf7e2e5cde7f92c9252877b4fcea46 (patch) | |
tree | 9215aad12e57eca88581390571630c29a1a3fcbc /sound/pci/asihpi/hpi6000.c | |
parent | ALSA: asihpi - Remove controlex structs and associated special data transfer ... (diff) | |
download | linux-95a4c6e785bf7e2e5cde7f92c9252877b4fcea46.tar.xz linux-95a4c6e785bf7e2e5cde7f92c9252877b4fcea46.zip |
ALSA: asihpi - DSP code loader API now independent of OS
The loader API has been revised so that OS specific data is kept
local to hpidspcd.c, and the public API is unchanged across OSes.
Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/asihpi/hpi6000.c')
-rw-r--r-- | sound/pci/asihpi/hpi6000.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sound/pci/asihpi/hpi6000.c b/sound/pci/asihpi/hpi6000.c index c8db36e90979..3cc6f11c20aa 100644 --- a/sound/pci/asihpi/hpi6000.c +++ b/sound/pci/asihpi/hpi6000.c @@ -946,11 +946,8 @@ static short hpi6000_adapter_boot_load_dsp(struct hpi_adapter_obj *pao, } /* write the DSP code down into the DSPs memory */ - /*HpiDspCode_Open(nBootLoadFamily,&DspCode,pdwOsErrorCode); */ - dsp_code.ps_dev = pao->pci.pci_dev; - - error = hpi_dsp_code_open(boot_load_family, &dsp_code, - pos_error_code); + error = hpi_dsp_code_open(boot_load_family, pao->pci.pci_dev, + &dsp_code, pos_error_code); if (error) return error; |