Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3463973rwa; Tue, 23 Aug 2022 05:18:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR4/Eh8fx/eSCpU4sVksC8zn7Wz6xh1b2drvuVjNcfMTSnnOW7aFpdiLDw9BTa5Ocwm6NIkt X-Received: by 2002:a17:902:9894:b0:172:ca00:f305 with SMTP id s20-20020a170902989400b00172ca00f305mr17381776plp.107.1661257133962; Tue, 23 Aug 2022 05:18:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661257133; cv=none; d=google.com; s=arc-20160816; b=LEimtTdaeCDRCtdPEvi4AMfAbralFk316XCQPLJ6b84mRMOqRcbIUeeAnAmuQDvbJF rdb8q/ENYX2LOU4JMUIqDlhB7ZuMH8LIGnoqrUPA1svKeGkeqExPp6wJf0xmCzupk3l+ vlweh9WAJIg1SQUju0Ju+rnxZvPhijOFnWIRraqb0yNoTujhypDyEIJgEBgsZ9MTDJ3O HUiIZd33xh/JbyXqLheaM0em6v4lBnyIbsll06myr/cg/fxzYBF3gJl6lM+ayu6e8mtW dqKO0qovDo8C3EIvqMOpSdoWdbWLqL901hKxAiaTZN1YDB1gljqXjG9d7hPZRTbA6gpc bcgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=NqnRq959lMVUuk98E1lYx2jjLF8FLJYxsZV1bRDW9/c=; b=TtQ55h2DVIzODLo0JHAoL6ueXU6+xEKtcrcLVUcX+zWR5PEfgn89nTwMHJ40TZGvyk wpP29SyambWINVSB9ki7YENJ0mBOSz7J62A9kaIo5m39/TfHujL5ZOPrktLCOFCoTIpp R8AyDMQn4cmU26xQxVJmuuUTgjnM06Z5QTh5oQOZ8f4jaxH40eJwr1WXfttZ+iou8Vks eiNdzocaFdcql1mdRCEUja2n4X6r9wGBBFXByGYwLs5qRVwEyQCE+nEMBA+rJt+Bw/o4 Sae06wGQdFRASsj4lhry7+DTwowappXxVFnGYiuwKQSOyOzethAsP0ksgjxmd+9u+eSd jsKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SdmQUzUo; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d62-20020a636841000000b0042aff6e2846si693477pgc.251.2022.08.23.05.18.43; Tue, 23 Aug 2022 05:18:53 -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=@linuxfoundation.org header.s=korg header.b=SdmQUzUo; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355090AbiHWKbA (ORCPT + 99 others); Tue, 23 Aug 2022 06:31:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353445AbiHWKPF (ORCPT ); Tue, 23 Aug 2022 06:15:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30FE072EDA; Tue, 23 Aug 2022 02:00:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6BB036156A; Tue, 23 Aug 2022 09:00:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F188C433D7; Tue, 23 Aug 2022 09:00:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661245213; bh=HsE6Hc1g0L5kt8Rb3CEnOB/34WTJkVgtm0Yx9+swGaY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SdmQUzUoZlGVaIPzx+hIUWf2k60WLRlDHwhT4PBfPMSHiVR75Hcw7EYiw5j22Jpu7 1hMV4GeVKjSdpPJifYQJS6F6OhmBkJmldhc7FtyYU7aToH7buOmF+LWD5vLpNiLjNA RFaKzfTChFTzBsfitFx9aQ9W+hxF/9EVQoNGOq8Y= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nguyen Bao Nguyen , Nishiyama Kunihiko , Kuninori Morimoto , Mark Brown , Sasha Levin Subject: [PATCH 5.15 213/244] ASoC: rsnd: care default case on rsnd_ssiu_busif_err_irq_ctrl() Date: Tue, 23 Aug 2022 10:26:12 +0200 Message-Id: <20220823080106.618967926@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080059.091088642@linuxfoundation.org> References: <20220823080059.091088642@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 From: Kuninori Morimoto [ Upstream commit ef30911d3c39fd57884c348c29b9cbff88def155 ] Before, ssiu.c didn't care SSI5-8, thus, commit b1384d4c95088d0 ("ASoC: rsnd: care default case on rsnd_ssiu_busif_err_status_clear()") cares it for status clear. But we should care it for error irq handling, too. This patch cares it. Reported-by: Nguyen Bao Nguyen Reported-by: Nishiyama Kunihiko Signed-off-by: Kuninori Morimoto Link: https://lore.kernel.org/r/871quocio1.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/sh/rcar/ssiu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/sh/rcar/ssiu.c b/sound/soc/sh/rcar/ssiu.c index 4b8a63e336c7..d7f4646ee029 100644 --- a/sound/soc/sh/rcar/ssiu.c +++ b/sound/soc/sh/rcar/ssiu.c @@ -67,6 +67,8 @@ static void rsnd_ssiu_busif_err_irq_ctrl(struct rsnd_mod *mod, int enable) shift = 1; offset = 1; break; + default: + return; } for (i = 0; i < 4; i++) { -- 2.35.1