[PATCH v7 1/5] i2c: designware: Use polling by default when there is no irq resource

Jarkko Nikula jarkko.nikula at linux.intel.com
Mon Jul 28 13:43:55 UTC 2025


On 7/10/25 10:16 AM, Raag Jadav wrote:
> From: Heikki Krogerus <heikki.krogerus at linux.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 at linux.intel.com>
> Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>
> ---
>   drivers/i2c/busses/i2c-designware-platdrv.c | 11 +++++++----
>   1 file changed, 7 insertions(+), 4 deletions(-)
> 
Acked-by: Jarkko Nikula <jarkko.nikula at linux.intel.com>


More information about the Intel-xe mailing list