Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35044747rwd; Mon, 10 Jul 2023 01:32:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlG7YQiJ8zc8qKBq57bOIiFvN0UbLnrBJAcutoFLIbtuQIT5E+03j0o2loWZlo7anaCAoOEr X-Received: by 2002:a17:906:64d3:b0:993:d820:cb71 with SMTP id p19-20020a17090664d300b00993d820cb71mr9298211ejn.8.1688977974008; Mon, 10 Jul 2023 01:32:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688977973; cv=none; d=google.com; s=arc-20160816; b=EK7i5rPbtf3XeTXshsGNSXYGEH490qinid0hjWaRFYr7Mf3Z9Jr6o5DjJNBEdGBz1O Z1pT+SGN8AVNi3NJlSB4Ir7O0p/+FGxM7/raJiEtG+SAQqnze96LfFKEl2NmS3wUcDaJ uQyPFWeE5I5o22ck8cw6fp0eVlLXzUJ5IWMBeshFcd4TLHeHY6HPIp6VikKlbvVdszeN y12V5jKbOkojj+CJ4YY8+WXLFDcIm7FfNYaxNjtMej6sW1EM+MSoteNjJ8S/YJ6qggeW Ib8IJKhKz5wFYKM4k5UWpNIEm6IbQOTi+DO7JTwkb8RXdhtK84vZDAGYzAFlmUITBDDe UYAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=C8Z0ix9Chfof1DB/Csk5bINN37o2rrQGNImvYqNMgmc=; fh=XTZrInhtDXrZaei8WwrkeJ//HQ5w1yLS7qMkLOlICt4=; b=0cY1qv4HAziToOndZtDwTNn9XZd1at82FJmV5hK5W0B/duuE31x2rfkY0jd6EDccMO CvzbwEbA80NSjFjFCWF34q65ZhZQqZASHmPXu0DvJwuYpd2dcGT/lKUNpff9Y9AHK3ns t22gsh+DjkSlbXLD2TDVd+WrVB4op2irI/JPNroevuTaNvetnKjY3PoTH4/i/2zlzB2e espg4iwdkc4e8qh4LS4Ajsd1rMo3zE796Ken9KEU9ZFLE6oyZ3ON3ekjTP7dRjZqqM30 3GnhjPyWg1SgXn5HfwIbVjR2RlWlRQZEInhH5jrxyBiqILFXecvsZyyj0oJkJCWeN7c9 VQ1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n40nmwMw; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u22-20020a170906125600b0098dfb10f3a6si7604372eja.107.2023.07.10.01.32.30; Mon, 10 Jul 2023 01:32: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=@kernel.org header.s=k20201202 header.b=n40nmwMw; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232646AbjGJITX (ORCPT + 99 others); Mon, 10 Jul 2023 04:19:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233092AbjGJISy (ORCPT ); Mon, 10 Jul 2023 04:18:54 -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 8C1E2FB; Mon, 10 Jul 2023 01:17:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2149B60B38; Mon, 10 Jul 2023 08:17:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B392C433C8; Mon, 10 Jul 2023 08:17:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688977033; bh=o21HF+UQcS0l3yAQUuKG4zuD/R+bPXKc2OVpaRoiVgY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=n40nmwMw1E+wUBhSn66EV2a1HkmIgPT+NPilR6uVX5pfjZPL2n4/pipwhgcYytccu LbRUzBWO8+JndLw3pQw/UEkD0zuG9HVplY4imqP+0pFG1EKcJVLEGMIw5t423kXXzW uSBl7lbDma9jbUlCIv8gsO5tAle78cBiCVl07CeDfTJgjnG5DO+No2rc00ZhO9UxZc TxiHU605qD7qjhd/B3olEmSDQwRoy8RizVGyrVIE+oybl8N/eUpBc6x56DkH1sTT2m 4bmotqdAEBfXx9pMdTmAXu020eottw9EV3NZqP+LLCJnVjfrl7NXezK5OqdlF1uUQc vh5IDhxWOUIDg== Received: from johan by xi.lan with local (Exim 4.96) (envelope-from ) id 1qIm5T-0007yi-0p; Mon, 10 Jul 2023 10:17:39 +0200 Date: Mon, 10 Jul 2023 10:17:39 +0200 From: Johan Hovold To: Srinivas Kandagatla , Vinod Koul Cc: andersson@kernel.org, yung-chuan.liao@linux.intel.com, pierre-louis.bossart@linux.intel.com, sanyog.r.kale@intel.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/4] soundwire: qcom: update status correctly with mask Message-ID: References: <20230525133812.30841-1-srinivas.kandagatla@linaro.org> <20230525133812.30841-2-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230525133812.30841-2-srinivas.kandagatla@linaro.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 On Thu, May 25, 2023 at 02:38:09PM +0100, Srinivas Kandagatla wrote: > SoundWire device status can be incorrectly updated without > proper mask, fix this by adding a mask before updating the status. > > Fixes: c7d49c76d1d5 ("soundwire: qcom: add support to new interrupts") > Signed-off-by: Srinivas Kandagatla > --- When rebasing on 6.5-rc1, I noticed that this one was apparently never merged along with the rest of the series. Any idea how this could have happened? And can we get this one into 6.5 as well? > drivers/soundwire/qcom.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/soundwire/qcom.c b/drivers/soundwire/qcom.c > index aad5942e5980..9440787e924b 100644 > --- a/drivers/soundwire/qcom.c > +++ b/drivers/soundwire/qcom.c > @@ -515,7 +515,7 @@ static int qcom_swrm_get_alert_slave_dev_num(struct qcom_swrm_ctrl *ctrl) > status = (val >> (dev_num * SWRM_MCP_SLV_STATUS_SZ)); > > if ((status & SWRM_MCP_SLV_STATUS_MASK) == SDW_SLAVE_ALERT) { > - ctrl->status[dev_num] = status; > + ctrl->status[dev_num] = status & SWRM_MCP_SLV_STATUS_MASK; > return dev_num; > } > } Johan