From f756df3ae52f7b7b0c2a983bd43c15f6dd90749e Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 9 Jan 2012 18:22:35 +0100 Subject: [PATCH] --- yaml --- r: 284143 b: refs/heads/master c: 9badda0a0afffebbe1cb30565800896534a6c5bd h: refs/heads/master i: 284141: e6fb0a2f154471de73e37561fa78ddbaa7d9cefb 284139: cf808b62ab671b2e5c34a83b28a44ed216320af6 284135: a52baef8de155d0d76244a33d0c433a26ed852ce 284127: 2dfcef797908e496599ced0134c7b757cca2e5e7 v: v3 --- [refs] | 2 +- trunk/sound/pci/rme9652/hdsp.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 28f8f4f2c372..f3833d265807 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 80c8a2a372599e604b04a9c568952fe39cd1851d +refs/heads/master: 9badda0a0afffebbe1cb30565800896534a6c5bd diff --git a/trunk/sound/pci/rme9652/hdsp.c b/trunk/sound/pci/rme9652/hdsp.c index 0111203859b6..b68cdec03b9e 100644 --- a/trunk/sound/pci/rme9652/hdsp.c +++ b/trunk/sound/pci/rme9652/hdsp.c @@ -2640,8 +2640,7 @@ static int snd_hdsp_info_pref_sync_ref(struct snd_kcontrol *kcontrol, struct snd uinfo->value.enumerated.items = 3; break; default: - uinfo->value.enumerated.items = 0; - break; + return -EINVAL; } if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items)