Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5282515rwd; Mon, 5 Jun 2023 00:55:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ48fb+OgnA25fjnAcbfKypz8uKMP4rQqLBF27iJ2y+yDBTLUKFwlOrIQ7F5mPoqYrvyftjP X-Received: by 2002:a05:6a00:881:b0:64a:f8c9:a42c with SMTP id q1-20020a056a00088100b0064af8c9a42cmr24684051pfj.18.1685951746116; Mon, 05 Jun 2023 00:55:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685951746; cv=none; d=google.com; s=arc-20160816; b=ZT4DxU/3SVFIgNJgjjRhZtUUDfJ27ygJCvR0bDw8zqKd3h891mAIzu70G14WFV3Gmc 2wwxrnKPG/4LaU5fAqRBvAQvbqujaILv3XGn8ew4Z+gX+dwtcRhvzjwkKmjzWnZAK+nL /G575YNw43IR1+Rs1uJ7VNy78YrDl+X6L27b8TaMuC55QS914Sac5NO0/Cp7+SLfA7QW biOORCfhOvxrQRqUaoolFqxp9JAC5uyyMnmbYdR1JcBFeWF+E/PHDlkNguVM537M5Mg+ 9GsfvqCyKnBstAeQzoEeyVzcpoj5C3Ks3MnHdk0I9rUbMArmAnHK7qBLgvWhdQ7oUCsM 0CDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=fXACBDWrWpm21SDboD4jk6Mj+IB2S3VWoHaVLLVQuEU=; b=qR6nyuQvFo4ljMmiuNxdH6LLjW4woiZg6nXkvxtpPGGgIJj9y59tXsa6MPEIvGtxow zLiSfSRdTD55kGfFsU+UtOPcSn0XBdrbGv5hPRa9LoD8ZLDsA296o+y16g41DPvrQBDR 9qAx4iueVeLuVUq/mggXBbw7v0PDaclSBAtN5mmpazZSfRT6uEgQbUwqWXYXcit0T4aD 0mWdE3UCU4nUn174ajHzbJrzbE24S7Pe0b9+9wRhNB96r/opU8AD7anCTEmrX6/eAcBU pk/NYI8TdrpGw3FLgBhVT4PR4jrzfIo6QD11VVKSwRK6ZMODor0si1gIOgA1yQ5Mwg8I dWKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=xFJwyLsU; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=upxesWqb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y16-20020a63b510000000b0053f89d77f90si5088145pge.281.2023.06.05.00.55.34; Mon, 05 Jun 2023 00:55:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=xFJwyLsU; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=upxesWqb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230258AbjFEHrk (ORCPT + 99 others); Mon, 5 Jun 2023 03:47:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230415AbjFEHrV (ORCPT ); Mon, 5 Jun 2023 03:47:21 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C45ACE9 for ; Mon, 5 Jun 2023 00:47:20 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 829B21F8AB; Mon, 5 Jun 2023 07:47:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1685951239; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fXACBDWrWpm21SDboD4jk6Mj+IB2S3VWoHaVLLVQuEU=; b=xFJwyLsUXGZJhbw1lihTbO6nRG4gpH5nmhFu3RUjiS+NAMuiZu2x1IKsI11W/hEDy93OhV py+Nkhw9ZiwslZa0bffGAftmHdp06YERIn6E87w/wbJBa+2MdIcNTfzC1GyM9B6n1ZOixU 9N2NS2wNnaZdLCI5PVHOo5rQ4qs5O+g= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1685951239; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fXACBDWrWpm21SDboD4jk6Mj+IB2S3VWoHaVLLVQuEU=; b=upxesWqb19z56yRorzmCgNUorCU652+EbD50n18d67+r1HO8rZ5GrEx24uk4Klzdvg99Vr i95wtvV/usGwMTDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 53595139C7; Mon, 5 Jun 2023 07:47:19 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id rRBLEweTfWTmdAAAMHmgww (envelope-from ); Mon, 05 Jun 2023 07:47:19 +0000 Date: Mon, 05 Jun 2023 09:47:18 +0200 Message-ID: <87mt1eic55.wl-tiwai@suse.de> From: Takashi Iwai To: Cc: Richard Fitzgerald , , , , , Subject: Re: [PATCH v4 00/12] ALSA: hda: Adding support for CS35L56 on HDA systems In-Reply-To: <87o7luic7c.wl-tiwai@suse.de> References: <20230601154731.3210572-1-rf@opensource.cirrus.com> <87o7luic7c.wl-tiwai@suse.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 05 Jun 2023 09:45:59 +0200, Takashi Iwai wrote: > > On Thu, 01 Jun 2023 17:47:19 +0200, > Richard Fitzgerald wrote: > > > > This set of patches adds support for using the CS35L56 boosted smart > > amplifier on HDA systems. In these systems the CS35L56 audio is > > routed through a HDA-to-I2S bridge codec. > > > > This doesn't include the changes to the Realtek driver to actually hook > > up the CS35L56 driver, because we don't yet have the QUIRK IDs to > > associate it with. But we want to publish the driver now so that it is > > available for bringing up hardware with the CS35L56. > > > > The first 9 patches are moving code out of the ASoC driver and into the > > shared library so that it can be shared with the HDA driver. > > > > Patch #10 fixes missing #includes in the HDA headers so that the CS35L56 > > driver doesn't have to #include headers that it doesn't use. > > > > Finally, #11 and #12 actually add the support for CS35L56 on HDA. > > > > CHANGES SINCE V3 > > Patch 01: > > - Fix double-free of IRQ caused by passing wrong cookie to devm_irq_free() > > Patch 12: > > - Fix memory leak of struct firmware object and firmware name strings. > > - Find and open firmware files before taking the irq_lock mutex and pm_runtime. > > - Don't bother executing the firmware loading code if no firmware files were > > found. > > > > Richard Fitzgerald (4): > > ASoC: cs35l56: Move runtime suspend/resume to shared library > > ASoC: cs35l56: Move cs_dsp init into shared library > > ASoC: cs35l56: Move part of cs35l56_init() to shared library > > ALSA: hda: Fix missing header dependencies > > > > Simon Trimmer (8): > > ASoC: cs35l56: Move shared data into a common data structure > > ASoC: cs35l56: Make cs35l56_system_reset() code more generic > > ASoC: cs35l56: Convert utility functions to use common data structure > > ASoC: cs35l56: Move utility functions to shared file > > ASoC: cs35l56: Make common function for control port wait > > ASoC: cs35l56: Make a common function to shutdown the DSP > > ALSA: hda: Add mute_hook to hda_component > > ALSA: hda/cs35l56: Add driver for Cirrus Logic CS35L56 amplifier > > It'd be likely easier to merge all those via ASoC tree, I suppose, as > some patches seem to have prerequisite in the recent ASoC changes. > So, Mark, could you take those through yours? > > Feel free to put my ack: > > Reviewed-by: Takashi Iwai Oh, and after you merge them, please send a PR to sound.git tree, too. This will make our lives easier, as there will be other conflicting changes for HD-audio component for TAS codecs, too. thanks, Takashi