Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp663625pxj; Tue, 18 May 2021 11:18:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyO0N4kqYFWQb01gPMLJMuPfd25SFxA64O1FEA051u7lwviKMtTnlVlv5ixy4Zupsd3tNIo X-Received: by 2002:a17:907:7355:: with SMTP id dq21mr7317039ejc.503.1621361891131; Tue, 18 May 2021 11:18:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621361891; cv=none; d=google.com; s=arc-20160816; b=KYBa5avimF/+IiVsBTdamJHOKjSAob9nT/oR5fvRUl8NzzPqFfGe9w+Yub40h/cwtr H40IsnVv6UzenaVLph20nT3UUwMGKeQ48sy27v/q9FaM2/3kWKiXIyibPtEJ7WpD7Hx8 SIIM6PnbxGDOP4t4uXMsqHXnnkkL1kX1fL5BE+1E0cGm0WYQJv5m8mz6knmhcL1G7QrW Ukvz4QL+FxRUdf/5gqCvG33/FKnrY1mv+ilAe3J+kNqqfOuq/8D61ceFJK4brXCEGxas QUX5IWmLqnv1qCL0VjjA5b8CJyl4FEpYk2nrRx8zgCatE5Yrck5KPZ4KD6NX++YCCXLf bM0Q== 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=lEeCcs7jmPJ1GSAjNl4plwvI5WoM9qZSvJLyQl+FlEs=; b=PxXjqlAQnzha+g7MBuOyxXp/0ujV0nTkLMWZjDI60oMyR9heZixAPJspKgyk58V3r9 /aXPdyDuC57IUGaWnEmsm5TATWtcvyMkB4h0sgioDErhx0qDoz4Xu56YCw8CEsgEhNVF hFOA6dWi8xNnNYyiGA2nK/kv0PS23zKGzjWTI0RLgemGPcvfF+doXtYI6/806pVhpHvk VL4Vlwkoam1BR2UD7aFSuvwotjIeuiTzWSZ3TS685yJUHzKozD0RDn9KkDmLaYJci9KB LmuyssfBwWosYfaxZBs2YFRMTa0dif4bRgq1GXY15tGmk1uQXwrWbs7Hf++mLs2jR0kl vlRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=cIEsOJ6n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hq20si1978094ejc.236.2021.05.18.11.17.46; Tue, 18 May 2021 11:18:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=cIEsOJ6n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1345807AbhEQQO1 (ORCPT + 99 others); Mon, 17 May 2021 12:14:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:45526 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345116AbhEQPuQ (ORCPT ); Mon, 17 May 2021 11:50:16 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 458F06143F; Mon, 17 May 2021 14:45:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621262745; bh=TpbOr6elZi+PPwNfI3J7bCp2pEpHJnlhWoG5yRXdSxU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cIEsOJ6nZxbNnrNwZEdnl7iaR629gL/7qdXNm70gzlJEUct57pPA6O5yKMksHJLaz Ief6Uq+hbRlx9tAOTW7uKnEiLJstRzxN8yTbH2d+6mDMvMYwHUF21xrYlAc3L6HWpz DTnXoPEUovmZq2JLaee0fVjjWjeRUlNf+sr1MpDg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kuninori Morimoto , Mark Brown Subject: [PATCH 5.10 289/289] ASoC: rsnd: check all BUSIF status when error Date: Mon, 17 May 2021 16:03:34 +0200 Message-Id: <20210517140314.875434789@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517140305.140529752@linuxfoundation.org> References: <20210517140305.140529752@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kuninori Morimoto commit a4856e15e58b54977f1c0c0299309ad4d1f13365 upstream. commit 66c705d07d784 ("SoC: rsnd: add interrupt support for SSI BUSIF buffer") adds __rsnd_ssi_interrupt() checks for BUSIF status, but is using "break" at for loop. This means it is not checking all status. Let's check all BUSIF status. Fixes: commit 66c705d07d784 ("SoC: rsnd: add interrupt support for SSI BUSIF buffer") Signed-off-by: Kuninori Morimoto Link: https://lore.kernel.org/r/874kgh1jsw.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- sound/soc/sh/rcar/ssi.c | 2 -- 1 file changed, 2 deletions(-) --- a/sound/soc/sh/rcar/ssi.c +++ b/sound/soc/sh/rcar/ssi.c @@ -797,7 +797,6 @@ static void __rsnd_ssi_interrupt(struct SSI_SYS_STATUS(i * 2), 0xf << (id * 4)); stop = true; - break; } } break; @@ -815,7 +814,6 @@ static void __rsnd_ssi_interrupt(struct SSI_SYS_STATUS((i * 2) + 1), 0xf << 4); stop = true; - break; } } break;