Message ID | 1474225172-32081-11-git-send-email-dev@andree.sk (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3CD8A6077F for <patchwork-alsa-devel@patchwork.kernel.org>; Sun, 18 Sep 2016 22:05:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0580B28BDC for <patchwork-alsa-devel@patchwork.kernel.org>; Sun, 18 Sep 2016 22:05:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED5A128BDF; Sun, 18 Sep 2016 22:05:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DFD7228BDC for <patchwork-alsa-devel@patchwork.kernel.org>; Sun, 18 Sep 2016 22:05:03 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 5DF9F266AD1; Mon, 19 Sep 2016 00:05:02 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 6270026048C; Mon, 19 Sep 2016 00:02:40 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 978962665FC; Sun, 18 Sep 2016 21:01:04 +0200 (CEST) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by alsa0.perex.cz (Postfix) with ESMTP id CF0DE26155B for <alsa-devel@alsa-project.org>; Sun, 18 Sep 2016 21:00:57 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id l132so10516354wmf.1 for <alsa-devel@alsa-project.org>; Sun, 18 Sep 2016 12:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=djA+2PUvDk5J48oy6z7fiZOj35+c6t9Rh8Y0x2oP4G4=; b=zEI484gEiUjj2sStcOjCuLawZk6gN0eGbAmsmsPOMlCIXGjJzNiIByrxSgBFAjXUs7 NFABU4Mu+WrI704VLb38YF0T681Pw1+Gi9myk5WHWEWgzv4y2FYVRDINRbDn/nPYiAud 4S8r7eFC0db82JX0/UH+VCc2qjXuluHJSUc8jVd6ypznQL/J+YGklztWeUyPKTKqPNOf TmVc3GjYuIEE3V3fcs/9nyh+O9zm+kPNlXJvlcgT1pkjhU5O00PSv+eHpF0QqUY/76Ok +oBuRo3fv7he3/7mD41GXfy4uybOs+6MwniqCoLxwdNv9gqbkJuHmzGyQbdwYTZG6vZ3 Cx2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=djA+2PUvDk5J48oy6z7fiZOj35+c6t9Rh8Y0x2oP4G4=; b=Ihf+77RnRC4Ysk1GmOQjvvcKSZ/swbGFuOOfuPhvxeXqircmDI55wkTAYLVBDBvdHf vzFvNIZ7V1YEOY6Pdx5KpkHakIN02mYU09/x3jF00JJfFkbGnpO1lJwcPjlba62AT7ur IEH/n1yNB2HFchdfDTo5Uz/890bNjm1YnYVYIWGjsHsovRQO9E5dXxRnMenFOFEblJ0v jJ4yXn9j5YN1WqWH5dR/xtBVCzLxbRzSOTWEEubhjSqBkT4RTJwvcCbyVzZFW3ewwDci 9tpyNclSyM78oXkTdQTLqcad/wnxfjnFqAzlGM+k8jgqeqAJVxZ8m1bidhIkLFb1kp0f v9Xg== X-Gm-Message-State: AE9vXwNzyNlyJDUPcp6tq9VJfuIWHFarwJWk4py5fVI5DPWJMvC53UvmdvD2UgefF5NfgQ== X-Received: by 10.194.205.2 with SMTP id lc2mr21022367wjc.175.1474225257395; Sun, 18 Sep 2016 12:00:57 -0700 (PDT) Received: from andree.lan ([217.30.74.231]) by smtp.gmail.com with ESMTPSA id 142sm18158112wmh.12.2016.09.18.12.00.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Sep 2016 12:00:56 -0700 (PDT) From: Andrej Krutak <dev@andree.sk> To: tiwai@suse.com, perex@perex.cz, stefanha@gmail.com, grabner@icg.tugraz.at, alsa-devel@alsa-project.org Date: Sun, 18 Sep 2016 20:59:30 +0200 Message-Id: <1474225172-32081-11-git-send-email-dev@andree.sk> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1474225172-32081-1-git-send-email-dev@andree.sk> References: <1470942147-19848-1-git-send-email-dev@andree.sk> <1474225172-32081-1-git-send-email-dev@andree.sk> Cc: Andrej Krutak <dev@andree.sk> Subject: [alsa-devel] [PATCH v4 10/12] ALSA: line6: Only determine control port properties if needed X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/sound/usb/line6/driver.c b/sound/usb/line6/driver.c index 853a143..8a71d45 100644 --- a/sound/usb/line6/driver.c +++ b/sound/usb/line6/driver.c @@ -612,9 +612,8 @@ int line6_probe(struct usb_interface *interface, goto error; } - line6_get_interval(line6); - if (properties->capabilities & LINE6_CAP_CONTROL) { + line6_get_interval(line6); ret = line6_init_cap_control(line6); if (ret < 0) goto error;
Not all line6 devices use the control port. Signed-off-by: Andrej Krutak <dev@andree.sk> --- sound/usb/line6/driver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)