|
@@ -2120,7 +2120,7 @@ static int sci_verify_port(struct uart_port *port, struct serial_struct *ser)
|
|
{
|
|
{
|
|
struct sci_port *s = to_sci_port(port);
|
|
struct sci_port *s = to_sci_port(port);
|
|
|
|
|
|
- if (ser->irq != s->cfg->irqs[SCIx_TXI_IRQ] || ser->irq > nr_irqs)
|
|
|
|
|
|
+ if (ser->irq != s->cfg->irqs[SCIx_TXI_IRQ])
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
if (ser->baud_base < 2400)
|
|
if (ser->baud_base < 2400)
|
|
/* No paper tape reader for Mitch.. */
|
|
/* No paper tape reader for Mitch.. */
|