linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/3] serial: 8250_fintek.c: Report chipID
@ 2022-03-11  7:02 Trevor Woerner
  2022-03-11  9:21 ` Jiri Slaby
  0 siblings, 1 reply; 3+ messages in thread
From: Trevor Woerner @ 2022-03-11  7:02 UTC (permalink / raw)
  To: linux-kernel, Greg Kroah-Hartman, Jiri Slaby; +Cc: linux-serial

Provide some feedback to confirm this driver is enabled, and specify which
chip was detected.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 drivers/tty/serial/8250/8250_fintek.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/drivers/tty/serial/8250/8250_fintek.c b/drivers/tty/serial/8250/8250_fintek.c
index d9f0e546b1a1..03ad2354d808 100644
--- a/drivers/tty/serial/8250/8250_fintek.c
+++ b/drivers/tty/serial/8250/8250_fintek.c
@@ -155,11 +155,22 @@ static int fintek_8250_check_id(struct fintek_8250 *pdata)
 
 	switch (chip) {
 	case CHIP_ID_F81865:
+		pr_info("Fintek F81865\n");
+		break;
 	case CHIP_ID_F81866:
+		pr_info("Fintek F81866\n");
+		break;
 	case CHIP_ID_F81966:
+		pr_info("Fintek F81966\n");
+		break;
 	case CHIP_ID_F81216AD:
+		pr_info("Fintek F81216AD\n");
+		break;
 	case CHIP_ID_F81216H:
+		pr_info("Fintek F81216H\n");
+		break;
 	case CHIP_ID_F81216:
+		pr_info("Fintek F81216\n");
 		break;
 	default:
 		return -ENODEV;
-- 
2.34.1.75.gabe6bb3905


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-11 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-11  7:02 [PATCH 2/3] serial: 8250_fintek.c: Report chipID Trevor Woerner
2022-03-11  9:21 ` Jiri Slaby
2022-03-11 14:26   ` Trevor Woerner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).