From 70df32fc652647ef2e3dc52f1601598653e7a3ea Mon Sep 17 00:00:00 2001 From: Eliot Blennerhassett Date: Thu, 22 Dec 2011 13:38:49 +1300 Subject: [PATCH] --- yaml --- r: 284122 b: refs/heads/master c: 8637bc94f6a36c138229ac1ea09faca343f48bd7 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/pci/asihpi/hpicmn.c | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index de2e9718b375..cb739dbe644e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f50efa2d9b10e32bf9ccd1a4692df3096512dcfc +refs/heads/master: 8637bc94f6a36c138229ac1ea09faca343f48bd7 diff --git a/trunk/sound/pci/asihpi/hpicmn.c b/trunk/sound/pci/asihpi/hpicmn.c index c54a49f0e6d1..7ed5c26c3737 100644 --- a/trunk/sound/pci/asihpi/hpicmn.c +++ b/trunk/sound/pci/asihpi/hpicmn.c @@ -324,6 +324,8 @@ short hpi_check_control_cache(struct hpi_control_cache *p_cache, } phr->error = 0; + phr->specific_error = 0; + phr->version = 0; /* set the default response size */ response_size = @@ -531,8 +533,12 @@ short hpi_check_control_cache(struct hpi_control_cache *p_cache, found ? "Cached" : "Uncached", phm->adapter_index, pI->control_index, pI->control_type, phm->u.c.attribute); - if (found) + if (found) { phr->size = (u16)response_size; + phr->type = HPI_TYPE_RESPONSE; + phr->object = phm->object; + phr->function = phm->function; + } return found; }