diff options
author | Tamseel Shams <[email protected]> | 2020-08-10 08:30:21 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-08-18 13:53:42 +0200 |
commit | 8c6c378b0cbe0c9f1390986b5f8ffb5f6ff7593b (patch) | |
tree | 3bdee0b1bd4cedc79f5861d33256ac988fb6e2c1 /include/linux/fpga/fpga-mgr.h | |
parent | 205d300aea75623e1ae4aa43e0d265ab9cf195fd (diff) |
serial: samsung: Removes the IRQ not found warning
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 false-positive error:
"IRQ index 1 not found" on newer SoC's.
This patch adds the condition to check for Tx interrupt
only for the those SoC's which have 2 interrupt lines.
Tested-by: Alim Akhtar <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Alim Akhtar <[email protected]>
Signed-off-by: Tamseel Shams <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions