[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z4jLM-EQPOXWj2Xx@smile.fi.intel.com>
Date: Thu, 16 Jan 2025 11:02:43 +0200
From: Andy Shevchenko <andy@...nel.org>
To: Andre Werner <andre.werner@...tec-electronic.com>
Cc: gregkh@...uxfoundation.org, jirislaby@...nel.org,
hvilleneuve@...onoff.com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
lech.perczak@...lingroup.com, krzk+dt@...nel.org,
conor+dt@...nel.org, robh@...nel.org
Subject: Re: [PATCH v7] serial: sc16is7xx: Add polling mode if no IRQ pin is
available
On Thu, Jan 16, 2025 at 09:34:47AM +0100, Andre Werner wrote:
> Fall back to polling mode if no interrupt is configured because there
> is no possibility to connect the interrupt pin.
>
> If no interrupt pin is available the driver uses a delayed worker to
> poll the state of interrupt status registers (IIR).
The commit message should be changed to reflect the code.
I.e. "Fix the IRQ check to treat the negative values as No IRQ."
> Signed-off-by: Andre Werner <andre.werner@...tec-electronic.com>
> Link: https://lore.kernel.org/r/20250110073104.1029633-2-andre.werner@systec-electronic.com
This should not be here.
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
It's not signed by Greg.
> V7:
> - Try to improve and unify comments as requested.
> - Fix typo in commit message: pull -> poll
Version should be 1 and Subject has to be changed accordingly.
...
> - s->polling = !!irq;
> + s->polling = (irq <= 0);
This is the only line has to be changed in the patch.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists