Return-Path: Message-ID: <1529347590.2289.271.camel@codethink.co.uk> Subject: Re: [PATCH 4.4 16/37] i2c: rcar: rework hw init From: Ben Hutchings To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org Cc: stable@vger.kernel.org, Wolfram Sang , Wolfram Sang , Fabrizio Castro , Chris Paterson Date: Mon, 18 Jun 2018 19:46:30 +0100 In-Reply-To: <20180605170109.859976584@linuxfoundation.org> References: <20180605170108.884872354@linuxfoundation.org> <20180605170109.859976584@linuxfoundation.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: On Tue, 2018-06-05 at 19:01 +0200, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > ------------------ > > From: Wolfram Sang > > commit 2c78cdc1c06308a59d6ed4145cdba73fdeff8c0d upstream. > > We don't need to init HW before every transfer since we know the HW > state then. HW init at probe time is enough. This part got reverted upstream by: commit ae481cc139658e89eb3ea671dd00b67bd87f01a3 Author: Wolfram Sang Date:   Tue Apr 18 20:38:35 2017 +0200     i2c: rcar: fix resume by always initializing registers before transfer so maybe that should go into stable (4.4 and 4.9 branches) too? Ben. > While here, add setting the > clock register which belongs to init HW. Also, set MDBS bit since not > setting it is prohibited according to the manual. [...] -- Ben Hutchings, Software Developer   Codethink Ltd https://www.codethink.co.uk/ Dale House, 35 Dale Street Manchester, M1 2HF, United Kingdom