aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/mxser_new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c
index d52ecff7320a..9af07e4999d5 100644
--- a/drivers/char/mxser_new.c
+++ b/drivers/char/mxser_new.c
@@ -1708,7 +1708,7 @@ static int mxser_ioctl(struct tty_struct *tty, struct file *file,
1708 1708
1709 info->speed = speed; 1709 info->speed = speed;
1710 spin_lock_irqsave(&info->slock, flags); 1710 spin_lock_irqsave(&info->slock, flags);
1711 mxser_change_speed(info, 0); 1711 mxser_change_speed(info, NULL);
1712 spin_unlock_irqrestore(&info->slock, flags); 1712 spin_unlock_irqrestore(&info->slock, flags);
1713 1713
1714 return 0; 1714 return 0;