From patchwork Thu Jun 9 13:35:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 12875582 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 86440C43334 for ; Thu, 9 Jun 2022 13:36:42 +0000 (UTC) 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 956951A6B; Thu, 9 Jun 2022 15:35:50 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 956951A6B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1654781800; bh=ULHzArisbPyE0SszF6N1LzBS2y0TF/4mi0NtIs8i+0E=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=tUYhc/VvGiGuUxR40566XB3XiA6SavD2SiwwtuA9XD2Lk1YuwkY0hyCyXNxQ5rjlY ihU99mRr5PVpJFQHEGEgN9ux6mbbdCk7nRvrKnSnfg3dVf9h7nKdWPc2QiESZ1VQWg mpRkO4QoUUPPw7WGQh5WUgJN959ORCAOhDjkzwBE= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 3DBFDF80240; Thu, 9 Jun 2022 15:35:50 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E8720F80240; Thu, 9 Jun 2022 15:35:47 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 CA8F7F800C7 for ; Thu, 9 Jun 2022 15:35:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CA8F7F800C7 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="b89H/kiR" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654781744; x=1686317744; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ULHzArisbPyE0SszF6N1LzBS2y0TF/4mi0NtIs8i+0E=; b=b89H/kiRwYgGJ4g+f93vwo56Pepig8lhrGbgnhyqJejAOP6CznM3AZNy InYZq3xaBw7R/K5rs7VPbFoVejcR95CrJ4wfLCDEyorQOrzAGGqIXcdrC cdKtRwqHhphoN2V7FGKfQpM6NBEmmt9UL16HDsGFXKksLQiAuc/07KjOZ gj0dWCJTHQTDgrDDbdTNOgfMYG1U9WVRzVG6P7HTOyk0fwxqWLI1+Tvga 5WLZdilTeGYo1+1CN0MDpMoo+oU8bGCzsv0EU/6tgwE3R9nczNpBHU1Uv uDuGarH4ZzcOq0hC/m0J3djjN77bcOPUM/WFzCeuUHg4iBBd0rhGpcSWN Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10373"; a="266061374" X-IronPort-AV: E=Sophos;i="5.91,287,1647327600"; d="scan'208";a="266061374" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2022 06:35:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,287,1647327600"; d="scan'208";a="683966115" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga002.fm.intel.com with ESMTP; 09 Jun 2022 06:35:38 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Oder Chiou , Mark Brown Subject: [PATCH 00/11] ASoC: codecs: Series of fixes for realtek codecs used on RVPs Date: Thu, 9 Jun 2022 15:35:30 +0200 Message-Id: <20220609133541.3984886-1-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: Pierre-Louis Bossart , Cezary Rojewski , alsa-devel@alsa-project.org, Takashi Iwai , Liam Girdwood , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= 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" Our tests platforms do use realtek codecs, while implementing avs driver and machine boards for it, we identified quite a lot of problems with those codec drivers. This series aims to fix those issues. Amadeusz Sławiński (8): ASoC: codecs: rt274: Move irq registration and cleanup ASoC: codecs: rt286: Move irq registration and cleanup ASoC: codecs: rt298: Move irq registration and cleanup ASoC: codecs: rt274: Enable irq only when needed ASoC: codecs: rt286: Enable irq only when needed ASoC: codecs: rt298: Enable irq only when needed ASoC: codecs: rt298: Fix NULL jack in interrupt ASoC: codecs: rt298: Fix jack detection Cezary Rojewski (3): ASoC: codecs: rt274: Always init jack_detect_work ASoC: codecs: rt286: Reorganize jack detect handling ASoC: codecs: rt298: Reorganize jack detect handling sound/soc/codecs/rt274.c | 67 +++++++++++---------- sound/soc/codecs/rt286.c | 56 ++++++++---------- sound/soc/codecs/rt286.h | 2 - sound/soc/codecs/rt298.c | 93 +++++++++++++----------------- sound/soc/codecs/rt298.h | 2 - sound/soc/intel/boards/broadwell.c | 6 +- sound/soc/intel/boards/bxt_rt298.c | 2 +- sound/soc/intel/boards/skl_rt286.c | 2 +- 8 files changed, 108 insertions(+), 122 deletions(-)