From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752059AbeERUDM (ORCPT ); Fri, 18 May 2018 16:03:12 -0400 Received: from mail.bootlin.com ([62.4.15.54]:33660 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751452AbeERUDL (ORCPT ); Fri, 18 May 2018 16:03:11 -0400 Date: Fri, 18 May 2018 22:02:59 +0200 From: Boris Brezillon To: Mika Westerberg Cc: Nicholas Mc Guire , Boris Brezillon , Richard Weinberger , linux-kernel@vger.kernel.org, Marek Vasut , linux-mtd@lists.infradead.org, Cyrille Pitchen , Brian Norris , David Woodhouse Subject: Re: [PATCH V2 RFC] mtd: spi-nor: intel: provide a range for poll_timout Message-ID: <20180518220259.04a85a05@bbrezillon> In-Reply-To: <20170214094724.GB15721@lahna.fi.intel.com> References: <1486973622-1072-1-git-send-email-der.herr@hofr.at> <20170214094724.GB15721@lahna.fi.intel.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 14 Feb 2017 11:47:24 +0200 Mika Westerberg wrote: > On Mon, Feb 13, 2017 at 09:13:42AM +0100, Nicholas Mc Guire wrote: > > The overall poll time here is INTEL_SPI_TIMEOUT * 1000 which is > > 5000 * 1000 - so 5seconds and it is coded as a tight loop here delay_us > > to readl_poll_timeout() is set to 0. As this is never called in an atomic > > context sleeping should be no issue and there is no reasons for the > > tight-loop here. > > > > Signed-off-by: Nicholas Mc Guire > > Acked-by: Mika Westerberg Queued to spi-nor/next. Thanks, Boris > > ______________________________________________________ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/ -- Boris Brezillon, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com