X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sound%2Fcore%2Fcontrol_compat.c;h=1fa70766ffabedea3cd5d3bf20779dfb7e3fcff8;hb=62d2def9a5143ba5c8cd009e7f07e5dfa79830d2;hp=0608f216f3592fc597c85c2c92594b891e499647;hpb=3513ac743df4a8522270bde4a20d75a42874487e;p=deliverable%2Flinux.git diff --git a/sound/core/control_compat.c b/sound/core/control_compat.c index 0608f216f359..1fa70766ffab 100644 --- a/sound/core/control_compat.c +++ b/sound/core/control_compat.c @@ -196,7 +196,7 @@ static int get_ctl_type(struct snd_card *card, struct snd_ctl_elem_id *id, kctl = snd_ctl_find_id(card, id); if (! kctl) { up_read(&card->controls_rwsem); - return -ENXIO; + return -ENOENT; } info = kzalloc(sizeof(*info), GFP_KERNEL); if (info == NULL) {