[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f6437802-ab77-45f3-beb3-c5db54d6d8f1@linux.intel.com>
Date: Mon, 28 Jul 2025 16:43:55 +0300
From: Jarkko Nikula <jarkko.nikula@...ux.intel.com>
To: Raag Jadav <raag.jadav@...el.com>, lucas.demarchi@...el.com,
thomas.hellstrom@...ux.intel.com, rodrigo.vivi@...el.com
Cc: airlied@...il.com, simona@...ll.ch, andriy.shevchenko@...ux.intel.com,
mika.westerberg@...ux.intel.com, jsd@...ihalf.com, andi.shyti@...nel.org,
riana.tauro@...el.com, srinivasa.adatrao@...el.com,
michael.j.ruhl@...el.com, intel-xe@...ts.freedesktop.org,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
Andi Shyti <andi.shyti@...ux.intel.com>
Subject: Re: [PATCH v7 1/5] i2c: designware: Use polling by default when there
is no irq resource
On 7/10/25 10:16 AM, Raag Jadav wrote:
> From: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
>
> The irq resource itself can be used as a generic way to
> determine when polling is needed.
>
> This not only removes the need for special additional device
> properties that would soon be needed when the platform may
> or may not have the irq, but it also removes the need to
> check the platform in the first place in order to determine
> is polling needed or not.
>
> Signed-off-by: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
> Reviewed-by: Andi Shyti <andi.shyti@...ux.intel.com>
> ---
> drivers/i2c/busses/i2c-designware-platdrv.c | 11 +++++++----
> 1 file changed, 7 insertions(+), 4 deletions(-)
>
Acked-by: Jarkko Nikula <jarkko.nikula@...ux.intel.com>
Powered by blists - more mailing lists