From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 E2A7B377AB4; Tue, 14 Jul 2026 22:25:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784067957; cv=none; b=MI1KQ4TIEqdY+f3CjN+dt7hBuekf1iWRrfVrDRPbiXN5ScATo898+pOjNPRVJJuu6H2XbTGVjOWhtcmvJn7qIdhQH03nbgL01bjnV64fTIO2NYhOpoNXXEfngk19p9xfgX008S9w1tA7G0kryKxLO2artoeSM3wPJ55692CNy+4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784067957; c=relaxed/simple; bh=S7eAX6LeH8Zsdt9Sg2EvYAKXA2oU0yPKhN5cDf7rbYs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qWneHqnxZ+pRnkosMdshUlR6HNJNNT21Cn4H2Vk+vD36c2PxDN8NpWT018UlZn7S35N55L58S75Q6JFMcfjcrBP1K+Kjs98fRoZfNonoRkhRFydglzdTUQ4mQMik7bP4fHSTkJOnhmYkCm0nqzE3KNppmuUTug/h1I0imXpUZmU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=N98NbSqp; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="N98NbSqp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4F831F000E9; Tue, 14 Jul 2026 22:25:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1784067955; bh=FnY3zyFinC3+lm72vnzw/gDx1kFOPSh6nzQxKUrgSKM=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=N98NbSqpiwClF1AgURNZpLcV2roeim3qj6ofCisOzrlaFw2JSk5FNtXl6hVOyIrpk uN5nJInB316XY56tbnTv0qZIdDtETMWtXsxiDrGANR3eETeX5R/R666jWhgkf+XJa8 pkQ+JS1G7lcRGalcFWyN3OJ3Xs1xcgf0tCzTcFO332gW65eSVlptxeSmo8wME+curv A1JJZuDNOVVkUBZTUVDKkKa620F4Mya3ECF7JSiyM8AhOGRx8EsJMLPHr131yrqG/h 67+L/NdfLDGvUvoDJUXg5+H1k6LilDwJTMK3V+EMOZ/GxiKrlXKBd942W+EtvH2nmK k4IoUrixnUi3Q== Date: Wed, 15 Jul 2026 00:25:52 +0200 From: Andi Shyti To: rva333@protonmail.com Cc: Qii Wang , Matthias Brugger , AngeloGioacchino Del Regno , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, stable@vger.kernel.org Subject: Re: [PATCH v2] i2c: mediatek: fix WRRD for SoCs without auto_restart option Message-ID: References: <20260709-6572-6595-i2c-v2-1-b2fb8510d1d3@protonmail.com> Precedence: bulk X-Mailing-List: linux-i2c@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260709-6572-6595-i2c-v2-1-b2fb8510d1d3@protonmail.com> Hi Roman, On Thu, Jul 09, 2026 at 04:31:29PM +0300, Roman Vivchar via B4 Relay wrote: > From: Roman Vivchar > > MediaTek mt65xx family SoCs have no auto restart, however, they still > support the WRRD mode in the hardware. Because auto_restart is set to 0, > the WRRD mode will be never enabled, leading to read errors. > > Fix this by removing auto_restart check from the WRRD enable path. > > Fixes: b49218365280 ("i2c: mediatek: fix potential incorrect use of I2C_MASTER_WRRD") > Cc: stable@vger.kernel.org > Reviewed-by: AngeloGioacchino Del Regno > Signed-off-by: Roman Vivchar merged to i2c/i2c-fixes. Thanks, Andi