From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: [PATCH v1 1/2] amba: Defer device peripheral ID read Date: Mon, 11 Apr 2016 16:01:31 +0100 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 Return-path: 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 Content-Disposition: inline In-Reply-To: <1460386716-23262-1-git-send-email-georgi.djakov@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org 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 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.