Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248153
b: refs/heads/master
c: 6027dfa
h: refs/heads/master
i:
  248151: 71f4304
v: v3
  • Loading branch information
Eliot Blennerhassett authored and Takashi Iwai committed Apr 5, 2011
1 parent c3af8ed commit d91682a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3d145aac913b318e96e5c2763d8908805a5e30a
refs/heads/master: 6027dfa46ea477b1223d83e74a3b3dcc572285b5
27 changes: 0 additions & 27 deletions trunk/sound/pci/asihpi/hpifunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,33 +105,6 @@ u16 hpi_subsys_get_version_ex(u32 *pversion_ex)
return hr.error;
}

u16 hpi_subsys_create_adapter(const struct hpi_resource *p_resource,
u16 *pw_adapter_index)
{
struct hpi_message hm;
struct hpi_response hr;

hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
HPI_SUBSYS_CREATE_ADAPTER);
hm.u.s.resource = *p_resource;

hpi_send_recv(&hm, &hr);

*pw_adapter_index = hr.u.s.adapter_index;
return hr.error;
}

u16 hpi_subsys_delete_adapter(u16 adapter_index)
{
struct hpi_message hm;
struct hpi_response hr;
hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
HPI_SUBSYS_DELETE_ADAPTER);
hm.obj_index = adapter_index;
hpi_send_recv(&hm, &hr);
return hr.error;
}

u16 hpi_subsys_get_num_adapters(int *pn_num_adapters)
{
struct hpi_message hm;
Expand Down

0 comments on commit d91682a

Please sign in to comment.