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 0D972FC5907 for ; Thu, 26 Feb 2026 07:46:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 73CB010E142; Thu, 26 Feb 2026 07:46:15 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="D0PAUn48"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9A9BB10E142 for ; Thu, 26 Feb 2026 07:46:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1772091975; x=1803627975; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ZpwIQUPmBHkMKxQ8tlC0wxQSF+8zr4oViEcqWJbz5RU=; b=D0PAUn48YejDKdfiHgyoZfPT7m0ZPNgbPe6PYZ5aL3/sEw4NN5Bc1HvI k/BabwW4BB0N4Hn4TbDM0wXQqQ9MbKQ505kng6StaZGnST/ZZt/8FkjgY rqTpQrbmrso65zTRvevjpGSP9ROAbgAiJ0oRsQnYnWcaWgwHDX+I9Rmqf GIyKvC4TwxV9N1Qw/A3j02ULXuN+ergTHzYMHbhyNRXK/O6Z6ty9fCL5h ERBsk8phyG/s2hwaY3e0WT5o/+ac6Z9gBuw+N2JW48AJTotPrPbsBx1lE dsByYZpj7uRfitlWhb3eHKKBvIsYJElFYuj5oUzKuFYxJ3awPW6vNgb1/ Q==; X-CSE-ConnectionGUID: +7KLlkyPQ5eyy/x5I89/FQ== X-CSE-MsgGUID: Zxl5YVHoSKOd6LiDR/kWnQ== X-IronPort-AV: E=McAfee;i="6800,10657,11712"; a="77015020" X-IronPort-AV: E=Sophos;i="6.21,311,1763452800"; d="scan'208";a="77015020" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Feb 2026 23:46:14 -0800 X-CSE-ConnectionGUID: OZ1hXrjWRe6NQmpJPqFvmg== X-CSE-MsgGUID: TuyKCFxtRSePaDSd9efJKg== X-ExtLoop1: 1 Received: from dhhellew-desk2.ger.corp.intel.com (HELO localhost) ([10.245.244.167]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Feb 2026 23:46:12 -0800 Date: Thu, 26 Feb 2026 09:46:10 +0200 From: Andy Shevchenko To: "Jose A. Perez de Azpillaga" Cc: Greg Kroah-Hartman , Andy Shevchenko , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Subject: Re: [PATCH v2] staging: fbtft: fb_ra8875: replace udelays with fsleep Message-ID: References: <20260225204602.134218-1-azpijr@gmail.com> <20260225234100.152320-1-azpijr@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260225234100.152320-1-azpijr@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 Thu, Feb 26, 2026 at 12:40:36AM +0100, Jose A. Perez de Azpillaga wrote: > The write_reg8_bus8 function uses udelay(100) twice to wait for the write_reg8_bus8() > display controller. In non-atomic contexts, fsleep() is the preferred > API as it automatically selects the most efficient sleeping mechanism > and avoids busy-waiting. But how do you know this is the non-atomic context? > Update both instances to use fsleep(100). -- With Best Regards, Andy Shevchenko