Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp253989pxj; Tue, 18 May 2021 02:34:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzukk132xwF50cucxtO/wo5mquWmUziT83hQ5qHEphKtQAIQvmNvSfjMlYzWdcsTgzkdbfH X-Received: by 2002:a05:6402:20f:: with SMTP id t15mr5922985edv.370.1621330448035; Tue, 18 May 2021 02:34:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621330448; cv=none; d=google.com; s=arc-20160816; b=WpbHd60v7vdJ8PpMfKgLT4v+B4HqV6QODToZmFbMf5AgERKNifTzMVganzE3uUuDJC vIUst8a7AwFkKHM0Ij0g13KlsFDaq65j8N7dxbUNM5jUB5SfYVl4f4Gf8UXTwq1JStdl OVa0RTMJWzie1w0k2GBuVCMIOQN6TexLaTNvGwgd97nHZP0+QDlTCvfolu1MxN9ewgJt HmtLpRZR8JyK0e4UvapaPMktz71h9QL0y5xdIX++K1BHa5YNNz+Lb4QF7jikzc3ONSkP STWNdG15kA88xXYcrmOqVwwVz8d0WxwxEsDOJ2WGhaHsrPeqs6HSFrMhuyUimNLZsIPZ INkg== 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=GqsoVqTj5AJq9kgGnyzfGI4jrpLOdL5Q5b75hHxXoPKukmJL7zDonkUt7IzWzo0nPA I4irn4a+3qXYOA+GTXrnXx/6vo2aGO8md5MpKzqUbaNhYGcCGWBAWYoMHo9JnFFliL6k Vtcp0ZeU+8DNlyAhRbAkot0ohr9AwWmyEdNWxNTTarDoZLSluIw165UAuUDZXUYsKZId aBx/+kOvG2HhJOlFEXo+Q8we+d/h2nnJCTogufLRX2DuSM7cgpuM+8ULE2FnQpvLgx7E qPzrAkl2ZIsPGdRJfQh76ZhS7peTa4a2HxuIA6rBoCQMLJ2gzkVHlnnzwvB0Pul/2PSz PPhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=r5D3jWR7; 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 b3si16766228edr.570.2021.05.18.02.33.44; Tue, 18 May 2021 02:34:08 -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=r5D3jWR7; 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 S242841AbhEQPIT (ORCPT + 99 others); Mon, 17 May 2021 11:08:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:59930 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241731AbhEQO6e (ORCPT ); Mon, 17 May 2021 10:58:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3C4F4619B8; Mon, 17 May 2021 14:26:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621261567; bh=TpbOr6elZi+PPwNfI3J7bCp2pEpHJnlhWoG5yRXdSxU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r5D3jWR7ZflNqqQupdfuid8KnoRHjjXLeQHSbpCWpQfIsUanGP9SdBHX2F56dd/LX 8sA8NlNbcxRqJI7L90vA3zy2yRfHplHfBMClNJf/gswcvynilai+mQgdl3BXZcXYV0 bspXm2GGXGoXUf4FKJ5i+1jErJKBqS63993eznGI= 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.12 363/363] ASoC: rsnd: check all BUSIF status when error Date: Mon, 17 May 2021 16:03:49 +0200 Message-Id: <20210517140314.865253751@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517140302.508966430@linuxfoundation.org> References: <20210517140302.508966430@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;