Skip to content

Commit 3285ea1

Browse files
Eliot Blennerhassetttiwai
authored andcommitted
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 <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent ad210ad commit 3285ea1

File tree

11 files changed

+1114
-2223
lines changed

11 files changed

+1114
-2223
lines changed

sound/pci/asihpi/hpi6000.c

Lines changed: 103 additions & 149 deletions
Large diffs are not rendered by default.

sound/pci/asihpi/hpi6205.c

Lines changed: 167 additions & 208 deletions
Large diffs are not rendered by default.

sound/pci/asihpi/hpi6205.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ struct bus_master_interface {
7878
u32 dsp_ack;
7979
u32 transfer_size_in_bytes;
8080
union {
81-
struct hpi_message message_buffer;
82-
struct hpi_response response_buffer;
81+
struct hpi_message_header message_buffer;
82+
struct hpi_response_header response_buffer;
8383
u8 b_data[HPI6205_SIZEOF_DATA];
8484
} u;
8585
struct controlcache_6205 control_cache;

sound/pci/asihpi/hpi_internal.h

Lines changed: 463 additions & 559 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)