diff options
author | Eliot Blennerhassett <eblennerhassett@audioscience.com> | 2011-02-09 23:25:58 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-02-10 12:22:40 -0500 |
commit | 3285ea10e9b09d68da18d2f805980246ec53523a (patch) | |
tree | f6c7ccc09d07fd808357b50ddad25e5f5b4fa3c9 /sound/pci/asihpi/hpimsginit.c | |
parent | ad210ad10ec96e32d32459545f54e4d3d9c6a088 (diff) |
ALSA: asihpi - Interrelated HPI tidy up.
Remove many unused functions.
Update some message and cache structs.
Use pci info directly from pci_dev.
Allow control cache elements with variable size, and handle
large message/response from dsp.
hpi6000 and hpi6205: fix error path when adapter bootload fails.
hpimsgx.c get rid of code duplicated in hpicmn.c
Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/asihpi/hpimsginit.c')
-rw-r--r-- | sound/pci/asihpi/hpimsginit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/asihpi/hpimsginit.c b/sound/pci/asihpi/hpimsginit.c index 42f918220ee4..628376ce4a49 100644 --- a/sound/pci/asihpi/hpimsginit.c +++ b/sound/pci/asihpi/hpimsginit.c | |||
@@ -50,7 +50,7 @@ static void hpi_init_message(struct hpi_message *phm, u16 object, | |||
50 | phm->object = object; | 50 | phm->object = object; |
51 | phm->function = function; | 51 | phm->function = function; |
52 | phm->version = 0; | 52 | phm->version = 0; |
53 | phm->adapter_index = 0xFFFF; | 53 | phm->adapter_index = HPI_ADAPTER_INDEX_INVALID; |
54 | /* Expect actual adapter index to be set by caller */ | 54 | /* Expect actual adapter index to be set by caller */ |
55 | } | 55 | } |
56 | 56 | ||