From mboxrd@z Thu Jan 1 00:00:00 1970 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 54C7FC54EBC for ; Thu, 12 Jan 2023 15:25:20 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 1959191E2; Thu, 12 Jan 2023 16:24:28 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1959191E2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1673537118; bh=h/jmBfUIardPjEK19fEEdz739eyHPFiYa2jLT9jegNc=; h=Date:Subject:To:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=pcir3Tary7cxT3fSLlvPuB0nOhm+asVir0fWFp1hH5SA+aXPrIVnYPlVYclNLEtY/ 6nqgz8OhCplGz3iZUh1Y3mvEKqc39Bh6LKZoUz7RVmRaD65nTwIjOeJF7eDxaNkuYk IRfhpn372XotRSYfZB1hAIRZt8GYqKJyZOH9fIcc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 22C4DF80558; Thu, 12 Jan 2023 16:23:22 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B2758F804BD; Thu, 12 Jan 2023 16:23:18 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 60C54F804DC for ; Thu, 12 Jan 2023 16:23:16 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 60C54F804DC Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=nn1D851f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673536997; x=1705072997; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=h/jmBfUIardPjEK19fEEdz739eyHPFiYa2jLT9jegNc=; b=nn1D851fzQ9c5I61jPWO/8dVi+CcnclNTAMD43M+q2uxLYLykLX+1Syw pyEDuZaALjeafqVgW7PV5i1Tc0modd4lebXdkeJMhZ3R4PrwBa/mEUzSw 5GcKKIf4NF5VJofNO6Kr4us780VY8EjrW9SCqUwOVNXYoUSsjrP125ice 1lxXypzSlECAy0P0QEEnBWTueAjdQyCiMd6r7EwiJuF5WGCh17aL0/b0m ETHm30DFwDw5KW6CPUL2obUoOuf0hTkqwXaB/yqeqMBrJrR3+Z8VZjDrA /mniTFAUEFL+8EMRJN6qAX4r2I1npFQHv2QT8vm0uw6PCUfmI9jfMG3T1 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="388212598" X-IronPort-AV: E=Sophos;i="5.97,211,1669104000"; d="scan'208";a="388212598" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2023 06:57:17 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="607816951" X-IronPort-AV: E=Sophos;i="5.97,211,1669104000"; d="scan'208";a="607816951" Received: from jbetan3x-mobl1.amr.corp.intel.com (HELO [10.209.143.163]) ([10.209.143.163]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2023 06:57:16 -0800 Message-ID: Date: Thu, 12 Jan 2023 08:56:28 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.4.2 Subject: Re: [PATCH v2 0/5] ASoC: Intel: Balance ACPI device refcount Content-Language: en-US To: Andy Shevchenko , Mark Brown , Hans de Goede , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <20230112112852.67714-1-andriy.shevchenko@linux.intel.com> From: Pierre-Louis Bossart In-Reply-To: <20230112112852.67714-1-andriy.shevchenko@linux.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 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: , Cc: Cezary Rojewski , Kai Vehmanen , Bard Liao , Takashi Iwai , Ranjani Sridharan , Liam Girdwood , Peter Ujfalusi Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On 1/12/23 05:28, Andy Shevchenko wrote: > While looking for the open coded put_device(&adev->dev) cases, where > adev stands for ACPI device, I noticed that in a few ASoC Intel driver, > among others, the refcount is not balanced properly in some cases. > > This series fixes that issue and converts to use acpi_dev_put(). Thanks Andy! Acked-by: Pierre-Louis Bossart > > Changelog v2: > - split Intel drivers out from others (Pierre) > - sent with cover letter (Mark) > > Andy Shevchenko (5): > ASoC: Intel: bytcht_es8316: Drop reference count of ACPI device after > use > ASoC: Intel: bytcr_rt5651: Drop reference count of ACPI device after > use > ASoC: Intel: bytcr_rt5640: Drop reference count of ACPI device after > use > ASoC: Intel: bytcr_wm5102: Drop reference count of ACPI device after > use > ASoC: Intel: sof_es8336: Drop reference count of ACPI device after use > > sound/soc/intel/boards/bytcht_es8316.c | 20 ++++++++++++-------- > sound/soc/intel/boards/bytcr_rt5640.c | 12 ++++++------ > sound/soc/intel/boards/bytcr_rt5651.c | 2 +- > sound/soc/intel/boards/bytcr_wm5102.c | 2 +- > sound/soc/intel/boards/sof_es8336.c | 14 ++++++++------ > 5 files changed, 28 insertions(+), 22 deletions(-) >