Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1087251pxu; Thu, 8 Oct 2020 03:01:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9z/YppuEvAvY1EOthYL5p3BBdOPt6IVvLNb7KKVeW+0jYaWx17SADfFXMaJSamX6GF+MT X-Received: by 2002:a17:906:c293:: with SMTP id r19mr7540089ejz.63.1602151312728; Thu, 08 Oct 2020 03:01:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602151312; cv=none; d=google.com; s=arc-20160816; b=Xa3LHqHh10HT4zkgndHJD9Ru3RfMSArGVrhNK47GOwuUyg3qsyextCmqS0H08PWKUh xuX4RAwfi4X6OorYAtYLZ2F+QvpQFNa3o36h4nFO9P6m382W2mh5MKwazDJyhywZl1j+ VWu6gc1rbg0niYW/jIdXtmsHpNVCdQ/8bpPDQPMiDWq/z8NISn1NxobveWT3yQWJjnaU xQY4wGulGe7HBMaK/JrBZkfXdC7uju/69zurMa871T548uxMCPMjSWV6AlR+9i6yiXgG JwpMn3XPwUnovT6s7dG3JjdRmZXSNuct5KsnByG0e+AzRBenBS0kuAdYzjjNunU74UPu YlLQ== 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=jfNXs9KbJzkZ3fc9g3oTXmIXRmuu5c92dx3Jl/2RpgY=; b=kQLk4+fA/g3Vw6ujSsdMAMRbwf+qs8r+0mS8nAC2pJfj3Vvl5wyq+nqL3SmSksy5+b SxJgijYggFHwrzvrG9NUnSVDvG6NfBjymfh6+joCUQN37Zt+2fHCKcj/97mpe8RJ0HPI 8y8d8LdvJFscXXJ5MkjsRfG/qOVIxdESl0lK767WsIb1xx4/wtt5dcKlWa3yWxuZpp0l x/xu08CqxgO+Pf9Nqzt4NRasb7KoOeN/4ZwbW2pwC0gm/qI7ly7glEV1FzohV0bTBc47 W140GieWJLvS2GRVXn3tUvUB3gnl1F9XPQ+GwWHkop5fGEa02Dgkr4A9QVtNRjnef7AV GI/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CNGAL6j8; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g9si3458606ejd.517.2020.10.08.03.01.28; Thu, 08 Oct 2020 03:01:52 -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=@kernel.org header.s=default header.b=CNGAL6j8; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729277AbgJHJ7w (ORCPT + 99 others); Thu, 8 Oct 2020 05:59:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:45634 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725849AbgJHJ7v (ORCPT ); Thu, 8 Oct 2020 05:59:51 -0400 Received: from localhost (p54b33b8c.dip0.t-ipconnect.de [84.179.59.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7304D2083B; Thu, 8 Oct 2020 09:59:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602151191; bh=jfNXs9KbJzkZ3fc9g3oTXmIXRmuu5c92dx3Jl/2RpgY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CNGAL6j8igMV89bdX5ykmhi6PnoJUrd72/SzoGs7aNAvn8tp89a3Kg1BL0usGmVG4 j/bCCqctjOT4t1cHVpUH4f2b+n5fqqAXVCN995Sh+ez9TJlzV7DNmWtiUdtAc/DjAQ jiFCmwDbUHlejccXiqJDVi8NBw3e7hHFZcTVzvXY= Date: Thu, 8 Oct 2020 11:59:47 +0200 From: Wolfram Sang To: Jerome Brunet Cc: Kevin Hilman , Nicolas Belin , linux-i2c@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] i2c: meson: fix clock setting overwrite Message-ID: <20201008095947.GC76290@ninjato> References: <20201007080751.1259442-1-jbrunet@baylibre.com> <20201007080751.1259442-2-jbrunet@baylibre.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="R+My9LyyhiUvIEro" Content-Disposition: inline In-Reply-To: <20201007080751.1259442-2-jbrunet@baylibre.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --R+My9LyyhiUvIEro Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 07, 2020 at 10:07:49AM +0200, Jerome Brunet wrote: > When the slave address is written in do_start(), SLAVE_ADDR is written > completely. This may overwrite some setting related to the clock rate > or signal filtering. >=20 > Fix this by writing only the bits related to slave address. To avoid > causing unexpected changed, explicitly disable filtering or high/low > clock mode which may have been left over by the bootloader. >=20 > Fixes: 30021e3707a7 ("i2c: add support for Amlogic Meson I2C controller") > Signed-off-by: Jerome Brunet Applied to for-current, thanks! --R+My9LyyhiUvIEro Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl9+4xMACgkQFA3kzBSg KbaPtBAAkuHWLMNn0jybEmjAKZBIbOlz+CXWeIoCShoBnN4pte2ywTTjm5sgkF3u Uxkuo8wH1v6eirOOEO3lXuxO8pXuLNZOqKZCzX+7ReRqA4SaXQQioPKhd8drY+Ia Om8OvYsH236YSV1njL2L4CiQ/WWZlbKo2WiQKeR21qyWrUvAiv3xDf99KkOKzGx+ Lg1KPZdyIHOwi7jZSr2oq84Rch9pm0YAH0kfVYV+v2WhoyQvZyQ7vd9w5lpdTzVM L3Rdr6ssn2Jf84t91tz0uA1TiSD70G9PYN2skl9zDdJIPNUy9xhC/DbeU4JUGnox SI09i14u3f5wSEFnQBQs23mMB+oMlQ8dhc+gnNUyq5RUlfNy5ScdwHYkOv+BWSel Pr30tSS8kosB+JGc1Sz7J367UoTLaHjcKJuCZW9c0Bs5SR9FamtO4N3iEve7JPBN HHqPx3qJanf12ekXN0DZmt0gg9kwxf5G2hmZq7V2dV537/nAGQIh9e6CJTcsBdiu V30cL3q764QUjg61J1IbLW1+9L/gCQ6PuA5ND4tcpl/3rjtqJxWqhgKrDQL2+Q+K WSTyND9YyLFk1cd/QU7AVtOlpNoE0xPVxlRaRE+Yr1TBaS57hsTJX+tum9tzvTEc pmjsfWCQREYH3Rl7aJ8qoMJmP4MQLcxAmcn7Qn7Tb+BxTGK18Ho= =dWyY -----END PGP SIGNATURE----- --R+My9LyyhiUvIEro--