summaryrefslogtreecommitdiffstats
path: root/sound/pci/asihpi/hpi6000.c
diff options
context:
space:
mode:
authorEliot Blennerhassett <eblennerhassett@audioscience.com>2011-02-10 17:26:00 +1300
committerTakashi Iwai <tiwai@suse.de>2011-02-10 18:49:23 +0100
commitffdb57874643a8ad65a46a02dceb2211283816c2 (patch)
tree1e7e199de9514f80102791638052cb4b902b955e /sound/pci/asihpi/hpi6000.c
parente64b1a28c532009edd6a8a7b906c280fc2a4b90a (diff)
downloadop-kernel-dev-ffdb57874643a8ad65a46a02dceb2211283816c2.zip
op-kernel-dev-ffdb57874643a8ad65a46a02dceb2211283816c2.tar.gz
ALSA: asihpi - Add adapter index to cache info for debug.
Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/asihpi/hpi6000.c')
-rw-r--r--sound/pci/asihpi/hpi6000.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/asihpi/hpi6000.c b/sound/pci/asihpi/hpi6000.c
index c85db49..c486af1 100644
--- a/sound/pci/asihpi/hpi6000.c
+++ b/sound/pci/asihpi/hpi6000.c
@@ -582,6 +582,9 @@ static short create_adapter_obj(struct hpi_adapter_obj *pao,
pao->adapter_type, pao->index);
pao->open = 0; /* upon creation the adapter is closed */
+ if (phw->p_cache)
+ phw->p_cache->adap_idx = pao->index;
+
return hpi_add_adapter(pao);
}
OpenPOWER on IntegriCloud