Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754611AbcDKPBk (ORCPT ); Mon, 11 Apr 2016 11:01:40 -0400 Received: from pandora.arm.linux.org.uk ([78.32.30.218]:40858 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753842AbcDKPBi (ORCPT ); Mon, 11 Apr 2016 11:01:38 -0400 Date: Mon, 11 Apr 2016 16:01:31 +0100 From: Russell King - ARM Linux To: Georgi Djakov Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, iivanov.xz@gmail.com Subject: Re: [PATCH v1 1/2] amba: Defer device peripheral ID read Message-ID: <20160411150130.GL19428@n2100.arm.linux.org.uk> References: <1460386716-23262-1-git-send-email-georgi.djakov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1460386716-23262-1-git-send-email-georgi.djakov@linaro.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 874 Lines: 20 On Mon, Apr 11, 2016 at 05:58:35PM +0300, Georgi Djakov wrote: > From: "Ivan T. Ivanov" > > To be able to read peripheral ID during device create time > bus code have turn on device interface clock, but this > clock could be unavailable at this time. Fix this by defer > device ID read until driver match time. > > Signed-off-by: Ivan T. Ivanov > Signed-off-by: Georgi Djakov Can't do this. See comments on previous similar patches trying to do the very same thing. (Sorry, I don't have time to provide a fuller reply, especially given that there's already a fuller reply in the last two months of mailing list archives.) -- RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.