From 2f918a6445218120a7b5e4ce6b6e76064ee8f846 Mon Sep 17 00:00:00 2001 From: Eliot Blennerhassett <eblennerhassett@audioscience.com> Date: Thu, 10 Feb 2011 17:26:09 +1300 Subject: 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> --- sound/pci/asihpi/hpi6000.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sound/pci/asihpi/hpi6000.c') diff --git a/sound/pci/asihpi/hpi6000.c b/sound/pci/asihpi/hpi6000.c index 9a05672e2302..3e3c2ef6efd8 100644 --- a/sound/pci/asihpi/hpi6000.c +++ b/sound/pci/asihpi/hpi6000.c @@ -458,9 +458,8 @@ static void subsys_create_adapter(struct hpi_message *phm, phw->ado[dsp_index].pa_parent_adapter = pao; } - phr->u.s.aw_adapter_list[ao.index] = ao.adapter_type; + phr->u.s.adapter_type = ao.adapter_type; phr->u.s.adapter_index = ao.index; - phr->u.s.num_adapters++; phr->error = 0; } -- cgit v1.2.1