From patchwork Tue May 18 08:45:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takashi Sakamoto X-Patchwork-Id: 12264181 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 96AFAC433ED for ; Tue, 18 May 2021 08:47:02 +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 22D66610FA for ; Tue, 18 May 2021 08:47:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 22D66610FA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sakamocchi.jp 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 2AE36169A; Tue, 18 May 2021 10:46:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2AE36169A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1621327619; bh=kOJYP7du1dJhpL/NpspPV8J+vByTZ1dZnFWd8to73vM=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=Fq8q2MEPzx17f3n9JSkBBJYednqgJNghweGeQrt2NSKImSl9vP8TPYkI2W5G85L93 nZi7m8tMDKONjwieJwg0anSqVZD2aEUGfbxS8gKg02Y+kx/Eg2RCaZgiz+5NgVHPjw XTcC8LhRQgfNZJXeCPPx1+F7njudc01gUfdmesLQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 7EDE6F80257; Tue, 18 May 2021 10:46:08 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9B941F80229; Tue, 18 May 2021 10:46:06 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id DD41BF80139 for ; Tue, 18 May 2021 10:46:03 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz DD41BF80139 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="Ar813JY/"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="pG4NW0B+" Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 5617A5C019D; Tue, 18 May 2021 04:46:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 18 May 2021 04:46:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakamocchi.jp; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=bSD5aubbqHsrcgR3A0wecB+iNE Yx3jGS2+L/hcBb3rA=; b=Ar813JY/G2tMrp6mABCfNvL8hS+t5n9WG1NnFuKidm GCYRDcZ5P0uFL88XMgjbiRxFvRSstpocAHqDicr00CUXpwf3eJ4xlRNyNbMc3XX4 bsUTYClN5cXBDH8i20E4djvPD0D6e0YmTHcePTRsow7H1boVBVbUf92w/YFxasyX yhuljcSYYEKhC2x+ZaxQKnOWXiKUnXB5FctKlTcTJqBRzNRg+XRBJ3lIqVFAG5Mt hprkKw4lfvf1wSUKt0gdeibU1+UQilmcqGjM+0FvfwwuhIaAiQPps942xgJtyjSb 9ycW0RvtBgYAxcMaTQU+oFYfXj60TrpBSLh+b7yqjE3A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=bSD5aubbqHsrcgR3A 0wecB+iNEYx3jGS2+L/hcBb3rA=; b=pG4NW0B+Dyi6s3WGJhTB633F6unJ2DnK/ qiH9OeWcqGtF82W3GkO3TS8YMeGsqwFhcNCNnf5qKJcqKRDvsV6umFPorAjuTmhk pyY5FgsfFZ4YOwSo1moViu1RFo+e+U3lAaZFhuvw4tX0L6bhC4cLmQaEJPpV32Wm 5z7AsIn9ctGNBkZqFlB4B7w+HK6NuHKR9xXHQR/RlXulF0NHViTjauWfzJft/4ze 7sjAPJI0T8j5LNJc+eM3uzPue850j1kM4w8PF2UvsynHz0JukPozUF2YXl1ZGkwr sPKc106s5StrHEkDhuKtzvXflWVLB9JKn5pzTttcWiY16F7H988tw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeijedgtdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepvfgrkhgrshhhihcuufgrkhgrmhhothhouceoohdqthgrkhgrshhh ihesshgrkhgrmhhotggthhhirdhjpheqnecuggftrfgrthhtvghrnhepteeiuefhjeekke efheetieekvdegfefhgffgvdeiheehhfehiedvhffgjeejuddunecuffhomhgrihhnpehk vghrnhgvlhdrohhrghenucfkphepudegrdefrdeihedrudejheenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehoqdhtrghkrghshhhisehsrghk rghmohgttghhihdrjhhp X-ME-Proxy: Received: from workstation.flets-east.jp (ae065175.dynamic.ppp.asahi-net.or.jp [14.3.65.175]) by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 May 2021 04:46:00 -0400 (EDT) From: Takashi Sakamoto To: tiwai@suse.de Subject: [PATCH v4 00/11] ALSA: oxfw: code refactoring for quirks specific to ASICs Date: Tue, 18 May 2021 17:45:46 +0900 Message-Id: <20210518084557.102681-1-o-takashi@sakamocchi.jp> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, clemens@ladisch.de 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" Hi, This patchset is revised version of my take 3: * https://lore.kernel.org/alsa-devel/20210518024326.67576-1-o-takashi@sakamocchi.jp/ Changes from v3: * use unsigned int type instead of int type for storage of combination of enumeration-constants Takashi Sakamoto (11): Revert "ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro" ALSA: firewire-lib/motu: use int type for the value of bitwise OR with enumerator-constant ALSA: oxfw: code refactoring for existent device entry with specifier_id and version ALSA: oxfw: code refactoring to detect mackie models ALSA: oxfw: add explicit device entry for Loud Technologies Tapco Link.FireWire 4x6 ALSA: oxfw: add explicit device entry for Loud Technologies Mackie Onyx Sattelite ALSA: oxfw: add comment for the type of ASICs ALSA: oxfw: code refactoring for jumbo-payload quirk in OXFW970 ALSA: firewire-lib: code refactoring for jumbo payload quirk ALSA: oxfw: code refactoring for wrong_dbs quirk ALSA: oxfw: add quirk flag for blocking transmission method sound/firewire/Kconfig | 4 +- sound/firewire/amdtp-am824.c | 4 +- sound/firewire/amdtp-am824.h | 2 +- sound/firewire/amdtp-stream.c | 11 ++- sound/firewire/amdtp-stream.h | 5 +- sound/firewire/bebob/bebob.c | 2 +- sound/firewire/digi00x/amdtp-dot.c | 2 +- sound/firewire/motu/motu.h | 3 +- sound/firewire/oxfw/oxfw-stream.c | 25 +++--- sound/firewire/oxfw/oxfw.c | 137 ++++++++++++++--------------- sound/firewire/oxfw/oxfw.h | 13 ++- 11 files changed, 110 insertions(+), 98 deletions(-)