From patchwork Mon Apr 25 22:11:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjani Sridharan X-Patchwork-Id: 565710 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 11EBFC433EF for ; Mon, 25 Apr 2022 22:14:52 +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 42256187A; Tue, 26 Apr 2022 00:14:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 42256187A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1650924890; bh=GX6UpIcjeLKcRESqhBQBnv+dbN0+7NRc+rjuwbtKkc0=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=n3oRIB7fBBi3LJAH+z8lVm4Y/FzZhuqXqyAHth0nEqwFnH7ufssMrkWAJY9pEf5k9 kofCsgCOKF2OLd4JXsGsk+6Xr8jseypwgUdQcSgR98BJAnJGJXQD9xZeZl5QfTVl1D JQ0P5WAlXyxfsEFpLwL9F0byS2bKwAw5tCpN4eVo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 82C45F8053D; Tue, 26 Apr 2022 00:12:05 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D234BF80534; Tue, 26 Apr 2022 00:12:02 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) (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 B4EE8F804F1 for ; Tue, 26 Apr 2022 00:11:55 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B4EE8F804F1 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="AX0DvH4e" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650924716; x=1682460716; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=GX6UpIcjeLKcRESqhBQBnv+dbN0+7NRc+rjuwbtKkc0=; b=AX0DvH4eapz9cuL/f0VkQXKvPn/p9GOspQs0yq6JCJpM2z2vx4YhYF3Q Lor3ynvzOGrzzktuHzPOotlmriESYCH5NHpmsEDobtM8eRY5ZgOz4d+Ou ZjNbC6G9hRjN8EKXyh1BNIyQMo9sxizYfzW2wGkXH8de03ENzrMN7yD/A gIMDEQGounPhT+nX3NdLEapYOIxrUc20tywaKqCEWiiFuf+B7ortF0T+1 1RhpRkhyt45jnARv87KTY9Nw7V6lBR4DBna6U5rPm0Sv5qS+lhSbkvfVJ 2XNiThvViRUWYuGHnsj1fsFJJOTq7xmLtX9jc9vhVTcQBsyb/g2F/9xaz Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10328"; a="245942144" X-IronPort-AV: E=Sophos;i="5.90,289,1643702400"; d="scan'208";a="245942144" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2022 15:11:38 -0700 X-IronPort-AV: E=Sophos;i="5.90,289,1643702400"; d="scan'208";a="729939928" Received: from shivakax-mobl.amr.corp.intel.com (HELO rsridh2-mobl1.localdomain) ([10.254.59.189]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2022 15:11:37 -0700 From: Ranjani Sridharan To: alsa-devel@alsa-project.org Subject: [PATCH 05/10] ASoC: SOF: amd: renoir: Do not set the load_module ops Date: Mon, 25 Apr 2022 15:11:24 -0700 Message-Id: <20220425221129.124615-6-ranjani.sridharan@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220425221129.124615-1-ranjani.sridharan@linux.intel.com> References: <20220425221129.124615-1-ranjani.sridharan@linux.intel.com> MIME-Version: 1.0 Cc: Pierre-Louis Bossart , Peter Ujfalusi , tiwai@suse.com, Rander Wang , broonie@kernel.org, Ranjani Sridharan , Bard Liao 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" From: Peter Ujfalusi The used firmware loader (snd_sof_load_firmware_memcpy) can use the generic module loading, which is by default uses the same implementation as the snd_sof_parse_module_memcpy. No need to set the callback for this platform. Signed-off-by: Peter Ujfalusi Reviewed-by: Bard Liao Reviewed-by: Pierre-Louis Bossart Reviewed-by: Rander Wang Signed-off-by: Ranjani Sridharan --- sound/soc/sof/amd/renoir.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sound/soc/sof/amd/renoir.c b/sound/soc/sof/amd/renoir.c index 275f266c5e4d..70190365328c 100644 --- a/sound/soc/sof/amd/renoir.c +++ b/sound/soc/sof/amd/renoir.c @@ -136,9 +136,6 @@ struct snd_sof_dsp_ops sof_renoir_ops = { .block_read = acp_dsp_block_read, .block_write = acp_dsp_block_write, - /* Module loading */ - .load_module = snd_sof_parse_module_memcpy, - /*Firmware loading */ .load_firmware = snd_sof_load_firmware_memcpy, .pre_fw_run = acp_dsp_pre_fw_run,