From patchwork Mon Apr 25 22:11:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjani Sridharan X-Patchwork-Id: 12826287 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 E4185C433EF for ; Mon, 25 Apr 2022 22:12:44 +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 1E426184D; Tue, 26 Apr 2022 00:11:52 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1E426184D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1650924762; bh=aIMBwOX3Cp8Ri7mtJowwjOOMLN0IdSeAQ7qPiU3TNQ4=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Yz+dhYaAq/cDWztb9eetNO70VVCCS/e1i0SdQkvhn+YvGHipSKI327XbvkwKr+Izv sMYerodVrS37OxgWcW03XYz/u7mCmFsE0DzMRy4EnDFUOPVC+s4Wy9XErZcKfCK2Hu KC+JgFQSa491ZzDD9ksXELfnONwJkPw3Pj1iOE6o= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 98630F8014B; Tue, 26 Apr 2022 00:11:51 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B6916F800FA; Tue, 26 Apr 2022 00:11:49 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 296D2F800FA for ; Tue, 26 Apr 2022 00:11:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 296D2F800FA Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="QTUwZYi5" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650924704; x=1682460704; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=aIMBwOX3Cp8Ri7mtJowwjOOMLN0IdSeAQ7qPiU3TNQ4=; b=QTUwZYi5xwiq1VT1b/eOAtMBHhJA/7TpRfr836ywI1nltK+DG5FO0y97 B6XOP3Jy5xHPfBX0+3z5HCizsNr7uPWBQDoKPNnIhnPID6paMoTa7UFIt 2+WKL9dTO6xT9sLJirAmdLKi/FSs70LMAwCb4IsDga6uaE9+ldgiAtNhS PwwIJhopCACYB0kuWbWTbM/aM+FNMtB/YAGfEChxcaIpfgwRL8W58D9wr EKfLrdIzJF5rvo9OYAb4pJcooMsn61NzPNHlCzT5X9PojxbWfEEvEWS2I SN3m4q7nqmHdhNEui6G2yQb+uKdx1vqo4goAeNHoYwo8qG1218k2fK7Qr w==; X-IronPort-AV: E=McAfee;i="6400,9594,10328"; a="264897779" X-IronPort-AV: E=Sophos;i="5.90,289,1643702400"; d="scan'208";a="264897779" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2022 15:11:39 -0700 X-IronPort-AV: E=Sophos;i="5.90,289,1643702400"; d="scan'208";a="729939947" 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:38 -0700 From: Ranjani Sridharan To: alsa-devel@alsa-project.org Subject: [PATCH 08/10] ASoC: SOF: mediatek: mt8195: Do not set the load_module ops Date: Mon, 25 Apr 2022 15:11:27 -0700 Message-Id: <20220425221129.124615-9-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/mediatek/mt8195/mt8195.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/sof/mediatek/mt8195/mt8195.c b/sound/soc/sof/mediatek/mt8195/mt8195.c index 90ec7b14823b..1766050e39f5 100644 --- a/sound/soc/sof/mediatek/mt8195/mt8195.c +++ b/sound/soc/sof/mediatek/mt8195/mt8195.c @@ -415,8 +415,6 @@ static struct snd_sof_dsp_ops sof_mt8195_ops = { /* misc */ .get_bar_index = mt8195_get_bar_index, - /* module loading */ - .load_module = snd_sof_parse_module_memcpy, /* firmware loading */ .load_firmware = snd_sof_load_firmware_memcpy,