From patchwork Fri Jun 11 03:50:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takashi Sakamoto X-Patchwork-Id: 458555 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 7F011C4743D for ; Fri, 11 Jun 2021 03:52:26 +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 E7F7B610E6 for ; Fri, 11 Jun 2021 03:52:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E7F7B610E6 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 8651B1877; Fri, 11 Jun 2021 05:51:34 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8651B1877 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1623383544; bh=1TiEjcQAS8eMaT9oJZxa03w+JwQF0fpL4G2fQK5M70k=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=cTnuxDL8sBVhlwneYlgh/+mtcriDhMKLBOzvOoHBSkKjfeAR3ZAPuzrkPc4En9AkA C+ofh+T9OhsbHKaORsIvTDCaox0k4WQ21EPJuyx9yc1ZlGkwLTshGgGA6hU7Ypnw8k MI7sqH1GuHiwQv2CgF8NaXUabQKmYnmk9hgoervs= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 4DCADF804C3; Fri, 11 Jun 2021 05:50:27 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 68B7AF804C3; Fri, 11 Jun 2021 05:50:25 +0200 (CEST) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E4F61F800FB for ; Fri, 11 Jun 2021 05:50:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E4F61F800FB Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="W0zk6GWe"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="NSaHPKiC" Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id F0EE1189A; Thu, 10 Jun 2021 23:50:08 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 10 Jun 2021 23:50:09 -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=e70dA7f1BpDDSfJwTIrxTwLGpr /hpTNJQNQqz+sT6ak=; b=W0zk6GWepdQ9z5Z7DrwlT+t5jCpSI/9qpoA116bO7Z c6uom42Yp+WcKLnOGqNdVtHaNYX+GnpSoSc/Ecxpof9OAuF779dC45w/VyO+RMJB LO3WdyoNATPabU5Gmpy7HLIpGFKYJgYPUtWQrcsID/CT8sgCteYfQZ1Fo3zdtD4/ QCCS8VVoqUDbdc9vH/P7aq8Up+lCoApeaqKg/TWSFVvEyxrcyG2bDQE/GyNB5r2A RQXlOTpolVo+iFTlzMGzc+Joe0Xb811keHh2lDx9+RE9Y55/Pnk2NvZG5KB0H06z OHDZBZGKVCSczTGiASVeYp9sseutsCF0BoRmDSLmvacw== 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=fm3; bh=e70dA7f1BpDDSfJwT IrxTwLGpr/hpTNJQNQqz+sT6ak=; b=NSaHPKiC1StOOQ1SQ7pyzhXO4bDZciDXS LGEviyQgq7togSA7X5nzZszmt8IC0AjpjUjWUdfwwsv9mB77/QrNC3YQEQ4lDQY1 0XnIJtTq4n9tMn7rN+WbrFcD06dNOrT9s6pLZ4lf0qbVIRtsgeT8xtTIBoOc6Sfz r9tvuSwSuclEVcwWqTPxuFMgPUZydQBS7IIN2NybCZfDUOPnccOdpt9pKcAFRua7 iv8O8FZimT/YyjmMMlroaVQGs2O+5kw3BSGNcf1pGYhq5wUnuRQWfKM7htuuViM8 wcrsgHxCwW+bwfUtrZZ8PUSCg9o3GYn/dymMV+hO+N0njMQItfuXg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeduiedgjeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepvfgrkhgrshhhihcuufgrkhgrmhhothhouceoohdqthgrkhgrshhh ihesshgrkhgrmhhotggthhhirdhjpheqnecuggftrfgrthhtvghrnhepudejteelhfdttd ekgfdtueeilefhgfetjeejheekgeevuddvveegieehueeukeejnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepohdqthgrkhgrshhhihesshgrkh grmhhotggthhhirdhjph X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 10 Jun 2021 23:50:06 -0400 (EDT) From: Takashi Sakamoto To: tiwai@suse.de Subject: [PATCH 0/3] ALSA: bebob: remove workarounds for suppressed quirks Date: Fri, 11 Jun 2021 12:50:00 +0900 Message-Id: <20210611035003.26852-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, As a result to apply the commit 1bd1b3be8655 ("ALSA: bebob: perform sequence replay for media clock recovery"), some quirks seem to be suppressed. This patchset removes workarounds for the suppressed quirks and includes code cleanup. Takashi Sakamoto (3): ALSA: bebob: dismiss sleep after breaking connections ALSA: bebob: delete workaround for protocol version 3 ALSA: bebob: code refactoring for model-dependent quirks sound/firewire/bebob/bebob.c | 41 ++++++++++++++++++++--------- sound/firewire/bebob/bebob.h | 10 ++++--- sound/firewire/bebob/bebob_stream.c | 32 ++++++---------------- 3 files changed, 42 insertions(+), 41 deletions(-)