From patchwork Tue May 18 02:43:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takashi Sakamoto X-Patchwork-Id: 12263441 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 29E09C433ED for ; Tue, 18 May 2021 02:45:35 +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 8DAB86135C for ; Tue, 18 May 2021 02:45:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8DAB86135C 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 2B21D41; Tue, 18 May 2021 04:44:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2B21D41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1621305933; bh=PGSEdCzrFWp1KCLY15CSFVG2AH/qJ+H5+cYY7uEKOow=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=Pgm41b4adGq7XOGGDoYpm21OJn0mxArd5qi/49AHhSPmYLlqlBbl+AD/oIjTaj99H vhV//wHs/GV7ZkApCCIdNgxRMsCs4rE0O16dt2Sp5y9T/1ojJVZxn2Bz5Ev5TFl8Dp CnOd6u+Ca1x0WtQtz0Y73z3rxJEZjOm3yk51r0qQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 57FFCF804A9; Tue, 18 May 2021 04:43:53 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1C05FF804AA; Tue, 18 May 2021 04:43:50 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3070BF8014C for ; Tue, 18 May 2021 04:43:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3070BF8014C Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="Vwv7jx2n"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="cNUnywXD" Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 177755C00A2; Mon, 17 May 2021 22:43:31 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 17 May 2021 22:43:31 -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=F5TOFtaX/YLVfuwZBcAPAUonGk 2YrBwSH6FptZEBpX4=; b=Vwv7jx2nApjAp+H+vE8bCVuMWOBS3FsOE7ENelEQtF 9C/RzH1uFpaTdW85IoNTCun8I5ZPbtdVsXeDd9pq5PKRm0pBVCEztluCSA0oSRg2 qyNisLUSlQe1mK/dII//Wjx0jpCx+2iuJW09VyRGeVFosWafwh98345z/j8A9IaR a3pJFLIdqQoS7sYY6g2RI6tbIWeHQJ6BRJixrpMPYQF3K7ZYQ8Pr0hDoi4TbLWSo IdbRSF8m5quqlFDguRBzosn10Qvw11c7RDHZgnzOFMWN4jEOEU8BHvWLTMs1+ILv axd6Vj/UEAuMd+w4JUJoxNWxpthhrDAiV2WF+RjC3EGw== 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=F5TOFtaX/YLVfuwZB cAPAUonGk2YrBwSH6FptZEBpX4=; b=cNUnywXDHFxW3thx1c4CZhSnIYYTMCBa+ bfCDh1miK3UkTiiC2wi6OVMDley/Cgb5hTBAoTvXEZVFJxv5SYUsIEmLXSnBEHwf MT4Vkk40ptFH7X5O8dLQRwrSKZvjrHQi5PL5ZUxbRJsMCst3quUODDgjpFIh4u2b 868olrQn2D3D2bhtTehkCYEHFxuSpFx5ITpWQ4nEM56jhrJFUtNBBkP0/5G7TNa9 aX8ThkGEnZvxHIN1d9qwfWqgD/D6CLknZm5l9joNNY37uC2rlJy4Q1b+rmua34uU QASu6myY7BWcZscCtwjZsEBGHsDDWJAbUXin/+Konl5xwBEkmnHyA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeiiedgheejucetufdoteggodetrfdotf 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; Mon, 17 May 2021 22:43:29 -0400 (EDT) From: Takashi Sakamoto To: tiwai@suse.de Subject: [PATCH v3 00/11] ALSA: oxfw: code refactoring for quirks specific to ASICs Date: Tue, 18 May 2021 11:43:15 +0900 Message-Id: <20210518024326.67576-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 2: * https://lore.kernel.org/alsa-devel/20210515071112.101535-1-o-takashi@sakamocchi.jp/ Changes from v2: * use int type instead of enumerated type for combination of enumeration-constants * fix semi-colon typo in subject line of 10th patch Regards 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(-)