From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EFDE4112584F for ; Wed, 11 Mar 2026 15:57:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 32C5810E034; Wed, 11 Mar 2026 15:57:18 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="nKFIsiw2"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id 90BD710E034 for ; Wed, 11 Mar 2026 15:57:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1773244638; x=1804780638; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=UfABTIU/4Gqrp5HiRVH34wdE+IYX3i9i9/pnHRemkkw=; b=nKFIsiw2GgxSTsmZIMVRh/v8WEqdpV6cvB+z32Z6i/mKepvQfz5OOUCg FMdQwUzMbp0plbCWvIg675QDcPICu2k6Fqo+CUycnhvthVoakLPLFL0Gm paKNHWu1WJN7Zt7Bt52emocgaaSg9Z/KMqHzM6i6BsbagnJFk7NTP6ucA 4BP2FpleDnJ+DRFX8HF7ljgJ5s1Y8/2utwf1k+9bTJCTTse6oOI5rh7mS Cf0oY117nsiiVkE/SV11H7WZbg3p62hyVR8pvlPUPkfe8l/iKqwma9jw/ O+bQNm0baN7PWsNeFKz680QsToakHUXAvSlZYuil4nXWXBWOFTtaSb/g3 A==; X-CSE-ConnectionGUID: OtdY8+SOSrSaW8EBrlhDSw== X-CSE-MsgGUID: kPymepa0SiqUxxlehHxrIw== X-IronPort-AV: E=McAfee;i="6800,10657,11726"; a="74287812" X-IronPort-AV: E=Sophos;i="6.23,113,1770624000"; d="scan'208";a="74287812" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2026 08:57:16 -0700 X-CSE-ConnectionGUID: XvLDTjaIS863YF22+DhFgw== X-CSE-MsgGUID: jk2Vl4wHQ/qAgpESBKYU1Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,113,1770624000"; d="scan'208";a="220561556" Received: from amilburn-desk.amilburn-desk (HELO localhost) ([10.245.244.178]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2026 08:57:14 -0700 Date: Wed, 11 Mar 2026 17:57:11 +0200 From: Andy Shevchenko To: Anas Iqbal Cc: andy@kernel.org, gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: fbtft: fb_ra8875: replace udelay() with usleep_range() Message-ID: References: <20260311135245.32730-1-mohd.abd.6602@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260311135245.32730-1-mohd.abd.6602@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, Mar 11, 2026 at 01:52:45PM +0000, Anas Iqbal wrote: > Replace udelay() with usleep_range() for 100 microsecond delays as > recommended by checkpatch.pl. usleep_range() avoids busy waiting and > allows the scheduler to run other tasks. fsleep(). Now, read README here: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/staging/fbtft/README and act accordingly. If you have been mentored on this, show the above link to your mentors. -- With Best Regards, Andy Shevchenko