summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>2015-08-02 23:11:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-21 10:02:18 -0700
commit4d025a21c7e6c3262ed9a093227df8d4c9a937d6 (patch)
tree9c9eb33f3aa0d4a74d11d296b5a41f4d81593ca8
parentaeba67c869f993cadd2a25b952089baa23b49e95 (diff)
downloadlwn-4d025a21c7e6c3262ed9a093227df8d4c9a937d6.tar.gz
lwn-4d025a21c7e6c3262ed9a093227df8d4c9a937d6.zip
serial: 8250: don't bind to SMSC IrCC IR port
commit ffa34de03bcfbfa88d8352942bc238bb48e94e2d upstream. SMSC IrCC SIR/FIR port should not be bound to by (legacy) serial driver so its own driver (smsc-ircc2) can bind to it. Signed-off-by: Maciej Szmigiero <mail@maciej.szmigiero.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/tty/serial/8250/8250_pnp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250_pnp.c b/drivers/tty/serial/8250/8250_pnp.c
index 682a2fbe5c06..2b22cc1e57a2 100644
--- a/drivers/tty/serial/8250/8250_pnp.c
+++ b/drivers/tty/serial/8250/8250_pnp.c
@@ -364,6 +364,11 @@ static const struct pnp_device_id pnp_dev_table[] = {
/* Winbond CIR port, should not be probed. We should keep track
of it to prevent the legacy serial driver from probing it */
{ "WEC1022", CIR_PORT },
+ /*
+ * SMSC IrCC SIR/FIR port, should not be probed by serial driver
+ * as well so its own driver can bind to it.
+ */
+ { "SMCF010", CIR_PORT },
{ "", 0 }
};