Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284122
b: refs/heads/master
c: 8637bc9
h: refs/heads/master
v: v3
  • Loading branch information
Eliot Blennerhassett authored and Takashi Iwai committed Dec 22, 2011
1 parent 913491c commit 70df32f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: f50efa2d9b10e32bf9ccd1a4692df3096512dcfc
refs/heads/master: 8637bc94f6a36c138229ac1ea09faca343f48bd7
8 changes: 7 additions & 1 deletion trunk/sound/pci/asihpi/hpicmn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 70df32f

Please sign in to comment.