Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A1E5C433E0 for ; Thu, 4 Feb 2021 03:46:42 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 69E7064D90 for ; Thu, 4 Feb 2021 03:46:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 69E7064D90 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=base.nu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id AF8E716EF; Thu, 4 Feb 2021 04:45:48 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AF8E716EF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1612410398; bh=zlq2nwu9GNNqbfLC0ShxtL3pOr7/xL/ULA5jQ3UqbhM=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=o7UrFa/JZmZZphtd9WmKN0lcZ8Q3DvY7GNksJ5BDPy3I1QqOvcRE7BTfjRm8fTLj5 AGEm1WmhrzhiJq13ErSfB2Tdj764cuSkNTBi9hG3YQ6R22poTzRhV2x9ZBSOO2sJQJ 2mYTsP0Gd9p9rAR7EeCKtufoTmGOuZU1Ypu6GmFA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 27FF4F801F7; Thu, 4 Feb 2021 04:45:48 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9F756F8021C; Thu, 4 Feb 2021 04:45:46 +0100 (CET) Received: from hellmouth.base.nu (hellmouth.base.nu [192.248.168.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E8236F80154 for ; Thu, 4 Feb 2021 04:45:42 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E8236F80154 Received: from baphomet.hell ( [192.168.179.1]) by hellmouth.base.nu (OpenSMTPD) with ESMTP id c9fdef0e; Thu, 4 Feb 2021 03:45:41 +0000 (UTC) Received: from baphomet.hell (localhost [127.0.0.1]) by baphomet.hell (OpenSMTPD) with ESMTP id d1743cc3; Thu, 4 Feb 2021 03:45:41 +0000 (GMT) Received: from localhost.localdomain ([192.168.178.2]) by baphomet.hell with ESMTPSA id pG6rCeVtG2AqYAAAnQSWfg (envelope-from ); Thu, 04 Feb 2021 03:45:41 +0000 From: Olivia Mackintosh To: alsa-devel@alsa-project.org Subject: [PATCH v2 0/2] Add DJM-750 and simplify Date: Thu, 4 Feb 2021 03:44:30 +0000 Message-Id: <20210204034432.15504-1-livvy@base.nu> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210128160338.dac4vrj7wjiykcxm@base.nu> References: <20210128160338.dac4vrj7wjiykcxm@base.nu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Takashi Iwai , Olivia Mackintosh , Fabian Lesniak X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" This is a re-roll of my last patch with the addition of some improvements. Hopefully it reduces the noise a little and simplifies the adding of new devices. One thing I haven't done here is replace the arrays of values for each channel with a named definition. In order to do this, the actual wValue would need to include the channel mask. Olivia Mackintosh (2): ALSA: usb-audio: Add DJM750 to Pioneer mixer quirk ALSA: usb-audio: Simplify DJM mixer quirks sound/usb/mixer_quirks.c | 333 ++++++++++++++++++++++++--------------- 1 file changed, 210 insertions(+), 123 deletions(-) -- 2.30.0