Thread (5 messages) 5 messages, 3 authors, 2020-06-17

RE: [RFC PATCH] serial: samsung: Re-factors UART IRQ resource for various Samsung SoC

From: M Tamseel Shams <hidden>
Date: 2020-06-17 16:29:22
Also in: linux-samsung-soc, linux-serial, lkml

Hi Greg,
I will post the patch without RFC tag.

Thanks & Regards
Tamseel
-----Original Message-----
From: Greg KH <gregkh@linuxfoundation.org>
Sent: Monday, June 15, 2020 6:21 PM
To: Tamseel Shams <redacted>
Cc: kgene@kernel.org; krzk@kernel.org; jslaby@suse.com; linux-arm-
kernel@lists.infradead.org; linux-samsung-soc@vger.kernel.org; linux-
serial@vger.kernel.org; linux-kernel@vger.kernel.org;
alim.akhtar@samsung.com
Subject: Re: [RFC PATCH] serial: samsung: Re-factors UART IRQ resource for
various Samsung SoC

On Mon, Jun 15, 2020 at 05:56:09PM +0530, Tamseel Shams wrote:
quoted
In few older Samsung SoCs like s3c2410, s3c2412 and s3c2440, UART IP
is having 2 interrupt lines.
However, in other SoCs like s3c6400, s5pv210, exynos5433, and
exynos4210 UART is having only 1 interrupt line. Due to this,
"platform_get_irq(platdev, 1)"
call in the driver gives the following warning:
"IRQ index 1 not found" on recent platforms.

This patch re-factors the IRQ resources handling for each platform and
hence fixing the above warnings seen on some platforms.

Signed-off-by: Tamseel Shams <redacted>
---
 drivers/tty/serial/samsung_tty.c | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)
RFC means "I do not trust this so I don't want anyone to merge it", so
I'll just
delete it from my queue and wait for you to come up with something that
you
feel confident with :)

thanks,

greg k-h

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help