From patchwork Sun Jul 7 08:28:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 13725978 Received: from mail.zeus03.de (zeus03.de [194.117.254.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 632FE18029 for ; Sun, 7 Jul 2024 08:28:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720340944; cv=none; b=fZ1joXw89hnwIgA+cPtjXUyvJ/SOa8i6IV6Wrl/4KMeaq71T1modHk/FSzMvuhd+z1i/OukeEXNSCVul3FbcKNK3v5eGbPhBRlF88eUzEpeYhuNISFPyF0kKQHr/Q4cb6wI2qLCkp96zo/t8nmxTK8xy342FI+Q320Def3/hUvA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720340944; c=relaxed/simple; bh=J4G82IpKgYXtLJX8foN16NvIY5zG75CYcZVm7pJ0HpQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VdvLKVI8lZ4Zuh9NfPwb4wnTMRFGntnbtzDHGa7dO8fHkVub+JOgr7oXR9qKtyFNTgl4x/RqidP3PFeeN6viVwm9D6uTIue04rHx8zKIbai+ZWZW5aaOIroxl0luwI2zo6rmfTdNxZcVWxsiX/VdXkeSwv7kACGwGpG1LNLK85U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=LxXPRCEr; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="LxXPRCEr" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=k1; bh=xA/Egzr9x+pcBo x+pS4WhaFPbyfsa6cSKT2typfQe8o=; b=LxXPRCErlaTyAVE3qCudqF/709F2ht 8ggUdB5oEQtWHTaWAnLjPG2OerJrpmjEdRedcE2O4IqmcFwMUjSFo2gKZi5zyL+R v1nUAHpTd6RImiSlulOY4/exPHmKlb3IwXiNS30M1UwpRss6KddIstRHBxxcUMb/ 5yjHJc5aPJvBfkdLMsP9tYiNBIyv3IwxhxXj4eENimJP2RT6PvlufOipZ4L0aazR +8M4qKuiRQ4r+arxPv6AjbYckzGOhbs0KedSvme/BPM1MFejwLCs+sK8TVij/8Vj k7vSaAHSdMO0Naa29pDTw/SqndF25Pnqg5P4LgmKRQFTYPq+bsXkOEKQ== Received: (qmail 4044161 invoked from network); 7 Jul 2024 10:28:56 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 7 Jul 2024 10:28:56 +0200 X-UD-Smtp-Session: l3s3148p1@DLhoFqQcPJRQT+F6 From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Andi Shyti , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] i2c: rcar: avoid spurious irqs Date: Sun, 7 Jul 2024 10:28:45 +0200 Message-ID: <20240707082848.5424-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Thanks to a report from Dirk, the first patch clears a window in which spurious irqs might happen in probe. The second patch makes the detection of spurious irqs louder. The third is a cleanup found while developing this series. The first should go to for-current, the others to for-next. No dependencies, luckily. Wolfram Sang (3): i2c: rcar: bring hardware to known state when probing i2c: rcar: WARN about spurious irqs i2c: rcar: minor changes to adhere to coding style drivers/i2c/busses/i2c-rcar.c | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-)