summaryrefslogtreecommitdiffstats
path: root/sound/pci/asihpi/hpifunc.c
diff options
context:
space:
mode:
authorEliot Blennerhassett <eblennerhassett@audioscience.com>2011-02-10 17:26:09 +1300
committerTakashi Iwai <tiwai@suse.de>2011-02-10 18:49:31 +0100
commit2f918a6445218120a7b5e4ce6b6e76064ee8f846 (patch)
tree10b4bd183c3bcd94ef0110c5cfe3c83a5e77a781 /sound/pci/asihpi/hpifunc.c
parent1d595d2a2121b0db2b57656c685a164f38c0c8ae (diff)
downloadblackbird-op-linux-2f918a6445218120a7b5e4ce6b6e76064ee8f846.tar.gz
blackbird-op-linux-2f918a6445218120a7b5e4ce6b6e76064ee8f846.zip
ALSA: asihpi - Replace adapter list with single item in subsys response.
Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/asihpi/hpifunc.c')
-rw-r--r--sound/pci/asihpi/hpifunc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/asihpi/hpifunc.c b/sound/pci/asihpi/hpifunc.c
index 28e98dd9249b..53924e494161 100644
--- a/sound/pci/asihpi/hpifunc.c
+++ b/sound/pci/asihpi/hpifunc.c
@@ -153,7 +153,8 @@ u16 hpi_subsys_get_adapter(int iterator, u32 *padapter_index,
hm.obj_index = (u16)iterator;
hpi_send_recv(&hm, &hr);
*padapter_index = (int)hr.u.s.adapter_index;
- *pw_adapter_type = hr.u.s.aw_adapter_list[0];
+ *pw_adapter_type = hr.u.s.adapter_type;
+
return hr.error;
}
OpenPOWER on IntegriCloud