From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796356344; b=fDU6hGK0+PXEp3xHQ9mGXgqPEvaIoCMMWIDYpRMtwQLjrJo0SsnbOE55y0IZgr1tA7s+ 3pG9k2bNkHhCMw3g/SYSnWnWqcHdnGtI3dzzVSYdHxHuuRM+uwYwcKfw3godV6i2hd480 VEzO4aOalMqxII8qGK20ndKJ5mKUyEN0aOqHKPaCQ6HmLQHEwMkRxXLS4Wy6jc7byC0cl EC60jYk4ke0ijvV/iGQvnXaht2cPt4m9PR/G1aUKeIOo7743hxBpDsGgBxOJBNIUQr8b9 hVN4fgRZeD9SUIkxzX2ndwE0c9snvcO24BGoo0hlZu0iITvfoqKR4026niTdVBiCgdA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796356344; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=l7fYN+QbhUqxWweWjgd0dQ5+WgNMlhVGdlaGx56FcjY=; b=WAo9U7pp+tWtAnWGzacZU5r5SZGRzZstY8g5QdconYblMVgVCw73mJH5pLBJQWDEvPi8 73NwPNXZ1xS3EuKL++8L93uU1FO5f+tS4N9bxcOHChrMsOCpLAJmYnBwgls56zuHB0FwM ukC5oeqY5wJBpM2mcFcIkRaL1yNxtnnD7cwii0drJE2mzg5HHwdh2pAgjufRna7h8VbUN Mws8hoA3tvvAran4mQOQnbZGjr62lfLB66hdCFZoUC7MzEEZs30nzfhnEveqxh8UqDBId ECc2UVEWF2AfhKfoMl14pE0+JDJo0rQEB/T/oKCbpj0bUysoHhQSh1zRhDGtoqgkETg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=uw89cljP; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A40C606A322; Fri, 4 Dec 2026 03:52:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=uw89cljP Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22A821F000CE; Fri, 4 Dec 2026 03:52:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796356344; bh=l7fYN+QbhUqxWweWjgd0dQ5+WgNMlhVGdlaGx56FcjY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=uw89cljPqI5A8ztVd0sV/kqUzDVh+gO32rB9mnwtHoqW4HzdLP790YNf0eHc0OJBE xQP1QcPGvw4W7bOaN6TM2vajsyJXKs0Ggn0XhuciHdMBagMBwTPARePzQ2/P9Ndlfr txtCS1+It5YUoLgN24guDpmWFC+Ze1Ymdaw0YcdQ= Date: Thu, 3 Dec 2026 23:19:59 +0100 From: Greg Kroah-Hartman To: Lucas Antunes Cc: linux-staging@lists.linux.dev, linux-fbdev@vger.kernel.org Subject: Re: [PATCH] staging: fbtft: upd161704: use fsleep() instead of udelay() Message-ID: <2026120337-calamari-hungry-c822@gregkh> References: <20261121171610.16391-1-lucasantunes@free.fr> X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261121171610.16391-1-lucasantunes@free.fr> On Sat, Nov 21, 2026 at 06:16:10PM +0100, Lucas Antunes wrote: > init_display() is called from the probe path, which runs in process > context and is allowed to sleep. Replace the busy-waiting udelay() > calls with fsleep(), which picks the best delay mechanism for the > requested duration, as recommended by > Documentation/timers/delay_sleep_functions.rst. > > Delays of 10us or less keep busy-waiting inside fsleep(), so only the > 100us and 200us delays actually change behaviour. as behaviour changes, this requires hardware testing. Please do so and resend explaining how it was tested. thanks, greg k-h