From patchwork Fri May 14 08:54:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takashi Sakamoto X-Patchwork-Id: 12257257 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 72FDCC433ED for ; Fri, 14 May 2021 08:55:45 +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 545AD613E9 for ; Fri, 14 May 2021 08:55:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 545AD613E9 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 846F4175E; Fri, 14 May 2021 10:54:52 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 846F4175E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1620982542; bh=90DU4y+Im7B/yLbfwxO/FXWGAgAK/gQIQFIFhy6/KY8=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=eOH0oVB4TTXiOR1ZtIT4p3iS0PmJqkkBYHzYR/OtIWa5VSImc1EI+p0GoYOcTltjM Ha67S7LbdAg6KuWTKQu8X5KJl5NJyHCnhZGe0x2BXLoCJyrKFRWH7rA7Gd3+aTZPLr B8dvJ0Dc7l3qbrj3vC8H2/l19xq37B1OkR535+bo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id F2DF5F8027B; Fri, 14 May 2021 10:54:51 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BCC93F8026F; Fri, 14 May 2021 10:54:49 +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 B6AE5F800BF for ; Fri, 14 May 2021 10:54:41 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B6AE5F800BF Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="Rf/GgCwz"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="GT1V+Yc7" Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 257C45C00EB; Fri, 14 May 2021 04:54:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 14 May 2021 04:54:40 -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=lnb+6q2h0W5MGkFA9FGhGi78eP uLzCbDzT2uQIUp/gA=; b=Rf/GgCwz8GUVoJfwo1JqdJD5WsGaw/SrYBoBbBqLxD GR9Rv6TZ51mVbUt/rtQcRTlHmn1E0Xmaux5WyM0tkaN5U1ce+2Qwgra65kSWAeT8 LnWi0xPosaPPclHdxrpo1lN4WjuOuaxs6ghDGduAaQVKtuCZMAQhuMH3ZVTE05IO XljsgioIRx5X8xYf073zqPpm9F++YFBmocuQN+wSkqnybBzgQ7E14oMOyx5XEuhf gWY3MSKmlrYo+wBZQqxg3/pdoPEmC96gOvQwFbV4khTcelqMWrxer0MZeycBO10p cWIkQ9cpNgsq8WV+rgHkQT1u/Crm17gy6YA6X1ALUd0A== 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=lnb+6q2h0W5MGkFA9 FGhGi78ePuLzCbDzT2uQIUp/gA=; b=GT1V+Yc7pMk8fakWyVPJtGZWKnIMI5ghY z+MXUN7D5/43qd9+vjV9qr2OLzJhlC1JdJe0QhEf+Z779SWfl7VSPtsw0QertMsO iAu3rCxEWZAfx2we7nzki+Ys4S5Chbtkvx9kizWiGdTNHf5ICBxZ0H41hQyLuXK4 7aMqC7ZUdIBbIx+cUlLBGlt6B7JZpGPzM4nuVKIwAROoiX/ejeT6YWRz0PKLoJ9X 9W6kyPj6V3BQRUlaNAxbkSFqJICdOi42XTGt3NOMkjjCj7fHbLbKmFGplrPnb+YR d7Ki7AHggQhbaFaEioCxK2t1W7UQuelb0fyRYgXGAwh9mnjA/kl4Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehhedgudefjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpefvrghkrghshhhiucfurghkrghmohhtohcuoehoqdhtrghkrghs hhhisehsrghkrghmohgttghhihdrjhhpqeenucggtffrrghtthgvrhhnpedujeetlefhtd dtkefgtdeuieelhffgteejjeehkeegveduvdevgeeiheeuueekjeenucfkphepudegrdef rdeihedrudejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehoqdhtrghkrghshhhisehsrghkrghmohgttghhihdrjhhp 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; Fri, 14 May 2021 04:54:38 -0400 (EDT) From: Takashi Sakamoto To: tiwai@suse.de Subject: [PATCH 0/7] ALSA: oxfw: code refactoring for quirks specific to ASICs Date: Fri, 14 May 2021 17:54:28 +0900 Message-Id: <20210514085435.92807-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 for code refactoring to ALSA OXFW driver, mainly regarding to ASIC types and quirks. Takashi Sakamoto (7): ALSA: oxfw: code refactoring for existent device entry with specifier_id and version ALSA: oxfw: add 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 sound/firewire/amdtp-stream.c | 7 +- sound/firewire/oxfw/oxfw-stream.c | 20 ++--- sound/firewire/oxfw/oxfw.c | 123 +++++++++++++----------------- sound/firewire/oxfw/oxfw.h | 10 ++- 4 files changed, 76 insertions(+), 84 deletions(-)