diff options
author | Eliot Blennerhassett <eblennerhassett@audioscience.com> | 2011-07-22 07:52:42 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-07-22 09:49:23 +0400 |
commit | 95a4c6e785bf7e2e5cde7f92c9252877b4fcea46 (patch) | |
tree | 9215aad12e57eca88581390571630c29a1a3fcbc /sound/pci/asihpi/hpi6205.c | |
parent | 58fbf77ff5d258a15a4084940e08219d7ee6f449 (diff) | |
download | linux-95a4c6e785bf7e2e5cde7f92c9252877b4fcea46.tar.xz |
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/hpi6205.c')
-rw-r--r-- | sound/pci/asihpi/hpi6205.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/pci/asihpi/hpi6205.c b/sound/pci/asihpi/hpi6205.c index d011932c952f..3e31a3f3708e 100644 --- a/sound/pci/asihpi/hpi6205.c +++ b/sound/pci/asihpi/hpi6205.c @@ -1371,9 +1371,8 @@ static u16 adapter_boot_load_dsp(struct hpi_adapter_obj *pao, return err; /* write the DSP code down into the DSPs memory */ - dsp_code.ps_dev = pao->pci.pci_dev; - err = hpi_dsp_code_open(boot_code_id[dsp], &dsp_code, - pos_error_code); + err = hpi_dsp_code_open(boot_code_id[dsp], pao->pci.pci_dev, + &dsp_code, pos_error_code); if (err) return err; |