From patchwork Fri Oct 5 07:01:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jussi Laako X-Patchwork-Id: 10627425 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AB39714BD for ; Fri, 5 Oct 2018 07:02:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D757292F4 for ; Fri, 5 Oct 2018 07:02:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9183D292FF; Fri, 5 Oct 2018 07:02:02 +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=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham 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 8FA3E292F4 for ; Fri, 5 Oct 2018 07:02:01 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 67A8C2678D6; Fri, 5 Oct 2018 09:01:56 +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 08F8E2678F8; Fri, 5 Oct 2018 09:01:42 +0200 (CEST) Received: from mail.sonarnerd.net (rankki.sonarnerd.net [194.142.149.154]) by alsa0.perex.cz (Postfix) with ESMTP id 94C4C2677F0 for ; Fri, 5 Oct 2018 09:01:35 +0200 (CEST) Received: from porkkala.uworld (porkkala.uworld [IPv6:fc00::2]) by mail.sonarnerd.net (Postfix) with ESMTP id AC4662310EC; Fri, 5 Oct 2018 10:01:33 +0300 (EEST) From: Jussi Laako To: tiwai@suse.de, alsa-devel@alsa-project.org Date: Fri, 5 Oct 2018 10:01:29 +0300 Message-Id: <20181005070130.7639-1-jussi@sonarnerd.net> X-Mailer: git-send-email 2.17.1 Subject: [alsa-devel] [PATCH v3 0/1] ALSA: usb-audio: Add custom mixer status quirks for RME CC devices 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Here are the requested updates. I have kept the locking separate from the helper, because in frequency calculation result depends on both values. I can move locking to the helper too if necessary, but I thought it would be logically cleaner this way...