From patchwork Mon Jul 18 11:04:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiada Wang X-Patchwork-Id: 12925497 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 8729DC43334 for ; Thu, 21 Jul 2022 15:58:57 +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 8C39715E0; Thu, 21 Jul 2022 17:58:05 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8C39715E0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1658419135; bh=DzP6J5wmo23YPOZvEQWM22e3YADlcJlWB0RLeSNkXLg=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=vtJuOcyLL4W0mWqtOllvjLRH4GuDCVSs2pPFQNJR2BJSxvJgVQFraoGAsAPBNKLpx YYQ+kv1nxZRh7ZBNIdL0WW41m0utFwv9tt9K6Fmo+w1PCu2kuu9Ip6SjHZmOFIXPS8 M1Zh8kP7RlLGLJoghK8ZYY0VUYOV+DtE0AB8WI9A= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 0EB8CF80169; Thu, 21 Jul 2022 17:58:05 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 029E0F80517; Mon, 18 Jul 2022 13:04:26 +0200 (CEST) Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) (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 9D69FF80125 for ; Mon, 18 Jul 2022 13:04:20 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9D69FF80125 X-IronPort-AV: E=Sophos;i="5.92,280,1650960000"; d="scan'208";a="79788840" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 18 Jul 2022 03:04:14 -0800 IronPort-SDR: KOLm0fDLK17UpztQZHEOU5e2xawaiZVzBw4G8CBYJEeLKxtuqJtFywAAQ9j0ljtTxxAP5TOKpW GyBfn0wKp9zk8UIadzBPooNUcb0tWXJoKzledJEWzThCBbnY4ZLGEoc6rs79HR84FToENs4DLo 4lzixczAIatDJ8yy+x7Dr9U4VL/NjPPEVEURIL2W0zucDrOOy+2kI0ve3a7J8T2p3vnWCc95O6 Y/8L7KCq73kAi5iGfFOaqXupBtRZjbzSl9PhkvY4mjMmnV1EY850RaTndEoyH7HOpk9ZGmT/ee OXg= From: Jiada Wang To: , , , , Subject: [PATCH v1 1/1] rsnd: ssiu: add missing .quit callback for gen2 Date: Mon, 18 Jul 2022 20:04:04 +0900 Message-ID: <20220718110404.1529085-1-jiwang_wang@mentor.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 21 Jul 2022 17:58:03 +0200 Cc: jiada_wang@mentor.com, Dean_Jenkins@mentor.com, alsa-devel@alsa-project.org, erosca@de.adit-jv.com, linux-kernel@vger.kernel.org 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: Wang Jiada commit 83b220cf8eb2a ("ASoC: rsnd: implement BUSIF related code in ssiu.c") moved BUSIF related code in ssiu.c which added .quit callback in ssiu.c to disable error irq when ssiu quits. But .quit callback was added only for gen1 and is missing for gen2, this causes error irq is left enabled after ssiu quits on gen2. This commit adds missing .quit callback for gen2 Signed-off-by: Wang Jiada Cc: Dean Jenkins Cc: Eugeniu Rosca --- sound/soc/sh/rcar/ssiu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/sh/rcar/ssiu.c b/sound/soc/sh/rcar/ssiu.c index 4b8a63e336c7..19a8030a660d 100644 --- a/sound/soc/sh/rcar/ssiu.c +++ b/sound/soc/sh/rcar/ssiu.c @@ -417,6 +417,7 @@ static struct rsnd_mod_ops rsnd_ssiu_ops_gen2 = { .name = SSIU_NAME, .dma_req = rsnd_ssiu_dma_req, .init = rsnd_ssiu_init_gen2, + .quit = rsnd_ssiu_quit, .start = rsnd_ssiu_start_gen2, .stop = rsnd_ssiu_stop_gen2, .get_status = rsnd_ssiu_get_status,