Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp276671lqp; Tue, 11 Jun 2024 04:27:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWb7nYiOyr9W8CSoiusOFFFjCnpYmunVIUwdNUHo8cwbI5C6N6/Dn0l1LXBpVp3KP0er7/NjAAboOhiL+nCmqJeMuqDbC4ka3KB6jSoWA== X-Google-Smtp-Source: AGHT+IFAmO+NyHliAbzwNIQQxVRr37JaEkDPmnya11OEJdZqv8Fz5LYKvSfp7oXt/S/tVztJGRx0 X-Received: by 2002:a17:90a:6541:b0:2c2:cfca:df5f with SMTP id 98e67ed59e1d1-2c2cfcae024mr10910481a91.36.1718105255098; Tue, 11 Jun 2024 04:27:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718105255; cv=pass; d=google.com; s=arc-20160816; b=vHHQVhJsGnlmRD8JK1+wXQxKqeQY2JKROUMVT/T5N6/eYeoyqD/1pbAXl1+cZGide4 uMe3HDFspK/RhlWex3uonD0wpEovJvqxmF5+MyRky1h+4bejobLmUIzOM6bAZ7Y2FzQ5 QiR7c3V9JoWy+MmpHNTFGjSmS2qph5+GS1JlXylaYfrewgflRtAp7mIwZoLnlFhDWPsS nD+FX39BJ0PecTRGpVNQfJh3bAcvIv10SwxHB3yK98418dJciHyigxr9NgPA1ZPycDCG 7HINNgT3Y7mO2X6syX5n44/v+G9VRO/0eXFA0YR9NFtWksaOL7P8AZk2kDz2JzwebwkJ OMMg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature; bh=MaYjj3o2ALLcKToV9N4PUJjf27yiK1Wwgvm7Ar9oqEc=; fh=sWZN47jrO25mnw4taj8OT2kFQGoblFwhuaqLx7baKuQ=; b=P+r8le71xt4P49WtTqAl5igzwWiOdGcE+wpFqjTfdxtfEPw9ZMVWsPtjTZwtWdeNkR gt2sm8Fu3/jRxcdjnJh0j6QNqK31ESY78BlExJ8NVkKdxsEtZUyd9O2Tyg9Bm109IGb5 Ds4GicrmToZ2GbJVa92BJScbmLIS4qmyzyec1GwdH1abb8PPNDY2ZupIlEMat53rrRRx IM19ar6RFcHHE9bHzQsJ4ydE38hMZ3fEZLo+I0wD1tEgnL6srR1hWDFfqTqaXiQy7I19 5h5QLaT3LQ8rH5CeWE6Fxq0nTJtDJP35ZKVcv8SEoceX6UBTr90EI0XIyuQhNHar9DCe wAwA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=yR3r7+xn; arc=pass (i=1 spf=pass spfdomain=flex--aniketmaurya.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-209734-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209734-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c32f1c5117si1313095a91.139.2024.06.11.04.27.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 04:27:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209734-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=yR3r7+xn; arc=pass (i=1 spf=pass spfdomain=flex--aniketmaurya.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-209734-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209734-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 21CD5286FE8 for ; Tue, 11 Jun 2024 11:27:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A93417B50D; Tue, 11 Jun 2024 11:26:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="yR3r7+xn" Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 76D2617B41F for ; Tue, 11 Jun 2024 11:26:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718105218; cv=none; b=SYuNhF4Orr/d6pLH0L++zwuYy8lnZMRD0MrYRLXI6HCFprUOu4IROrszXaat2jj2zC80gl5pdVB5HORGU+es4+lu9Rm6dBpP3M2cUA7IUxdZrgfvhhUXBHgKgjJIzwcXFhD60Vrb++z6aejZjPiGltQ1ywdE0V9CtiTTmDeSOpQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718105218; c=relaxed/simple; bh=pbRlDuabOT8nyBwfQKvsyClHBBDYEiD147x9jPMMr+U=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=mMf0Jm9ScN6Mf1kXhUBWQEmgeo8FMhkvnekMxUjKHZ5JiXGLQyZ1rE0B/2QZE4pjD8RijZcZCVbpAKnz8hzKJEuLwbk+6mnCKsgU9/u5lW360VcSP+NuANbQztfyl9GUgXM1L0G0/D6kkMlCtCJE1TEUaCveQa+ZqXXmoSCMvsI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--aniketmaurya.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=yR3r7+xn; arc=none smtp.client-ip=209.85.219.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--aniketmaurya.bounces.google.com Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-df79945652eso1573270276.0 for ; Tue, 11 Jun 2024 04:26:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1718105216; x=1718710016; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=MaYjj3o2ALLcKToV9N4PUJjf27yiK1Wwgvm7Ar9oqEc=; b=yR3r7+xnQupdgaB2CRM4lXzCHNaZHTIEVMtnl0RyeygmeL7hGLoIpFyY6HeRFCsyZq eYxfhcLuRtstCNHxBU4uOzGNzEOiuJtfQETZJkXJKH+sJh9BSI6hjL/8A5mGstUwpjzA 63A5pD4quU03JG0VjFIdkNUGxMr31KYz5LS7DrXKMmWxg6HFQDR4a5n3i//2EWG+tZin lICeEkS4MUmWOndQZKr1C6dCsvxCwux9hq9O0OEZnpuNt0gcEqLk9sbfB3UuWwRtoVbx F+BlbA7XkwhghU96Z4Vcyz90huO5qnu+s+5829KFABrJDuZRF9dq1xjp61RxxiN6JmUY zIfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718105216; x=1718710016; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=MaYjj3o2ALLcKToV9N4PUJjf27yiK1Wwgvm7Ar9oqEc=; b=JD0a/E3+bYbwg8KsvgegBf20HAjA/hC7B1Y4iwl/FAN7pW/Za3QLG44k03sDiVjVZj /vlP/mZ1GtOxJsc1RsSB/TykbswQYWNzJIyGuGtDbvyH1KKG13/pxA11vaBvgEHQIs7/ o61M8wOg2LGWtkTHawdd2LJKgkUUgP393X03BiCQeaE+eLmnInJ5YuitziI5rdTHvxXl QK6TEge0sFNXArFYiK185W3om3jTnLbdf6dnv6a/VOGrHfr7XSvenHHTqYl7wmfo0Uyx g1OO5sb0/U+NFUu8ecXO/Fw32b6csFM0TNUpVcVcTLLUT/siiC1j71RcUPzAOBWUJ0HV kkqQ== X-Forwarded-Encrypted: i=1; AJvYcCUaRFzPaMTrWVCOtp22iv0Xxcxk6DlTkO1IiZO1N/MYvCFi2JM9+Q6nM/L4KAKAkWz3RsydNgE++5ZIo+ORDTErhlq7N+hRh3ck/skD X-Gm-Message-State: AOJu0Yx/o0UJZ4qGgxNbryLiMSN70P9MUe4sMO/KvRGyQijhflHYFLpO BC8mX8cCb4wOpGbgBCWhM+uRSpJk1KaF6c7/i1BrTnKpfsVsea/Mo6GYabDQ3S3wb/kBfCQJ7G+ cjb4BEyN54LRijmtVXSmMkFakAg== X-Received: from aniketm.c.googlers.com ([fda3:e722:ac3:cc00:4f:4b78:c0a8:3387]) (user=aniketmaurya job=sendgmr) by 2002:a05:6902:2b8b:b0:dfa:849d:3a59 with SMTP id 3f1490d57ef6-dfaf667471bmr4157407276.13.1718105216433; Tue, 11 Jun 2024 04:26:56 -0700 (PDT) Date: Tue, 11 Jun 2024 11:26:50 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.45.2.505.gda0bf45e8d-goog Message-ID: <20240611112650.411214-1-aniketmaurya@google.com> Subject: [PATCH] i3c: dw: Fix clearing queue thld From: Aniket To: Alexandre Belloni , Jeremy Kerr , Joel Stanley , Billy Tsai Cc: linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org, Aniket Content-Type: text/plain; charset="UTF-8" QUEUE_THLD_CTRL_IBI_STAT_MASK is repeated twice. Replace with QUEUE_THLD_CTRL_IBI_DATA_MASK. Signed-off-by: Aniket --- drivers/i3c/master/dw-i3c-master.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i3c/master/dw-i3c-master.c b/drivers/i3c/master/dw-i3c-master.c index 03911a5c0264..77a2a1c3fd1d 100644 --- a/drivers/i3c/master/dw-i3c-master.c +++ b/drivers/i3c/master/dw-i3c-master.c @@ -631,7 +631,7 @@ static int dw_i3c_master_bus_init(struct i3c_master_controller *m) thld_ctrl = readl(master->regs + QUEUE_THLD_CTRL); thld_ctrl &= ~(QUEUE_THLD_CTRL_RESP_BUF_MASK | QUEUE_THLD_CTRL_IBI_STAT_MASK | - QUEUE_THLD_CTRL_IBI_STAT_MASK); + QUEUE_THLD_CTRL_IBI_DATA_MASK); thld_ctrl |= QUEUE_THLD_CTRL_IBI_STAT(1) | QUEUE_THLD_CTRL_IBI_DATA(31); writel(thld_ctrl, master->regs + QUEUE_THLD_CTRL); -- 2.45.2.505.gda0bf45e8d-goog