projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: usb-audio: Fix copy&paste error in the validator
[linux-2.6-block.git]
/
sound
/
usb
/
validate.c
diff --git
a/sound/usb/validate.c
b/sound/usb/validate.c
index 3c8f73a0eb12254385f9b2ed007bafc46ee74109..a5e584b60dcd83efd9b6732980e72e074e160c31 100644
(file)
--- a/
sound/usb/validate.c
+++ b/
sound/usb/validate.c
@@
-75,7
+75,7
@@
static bool validate_processing_unit(const void *p,
if (d->bLength < sizeof(*d))
return false;
- len =
d->bLength <
sizeof(*d) + d->bNrInPins;
+ len = sizeof(*d) + d->bNrInPins;
if (d->bLength < len)
return false;
switch (v->protocol) {