summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/option.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2008-02-20 21:51:45 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-25 06:16:39 +0200
commite298449401463dd18f24a87c48f9b0ec62bad936 (patch)
tree12f84e1370d9e81b15f742dfba1ee5b3b60ef108 /drivers/usb/serial/option.c
parentUSB: ftdi_sio: Note missing locking (diff)
downloadlinux-e298449401463dd18f24a87c48f9b0ec62bad936.tar.xz
linux-e298449401463dd18f24a87c48f9b0ec62bad936.zip
USB: serial: Note mos7480 and option don't lock modem status
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/option.c')
-rw-r--r--drivers/usb/serial/option.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index d101025a4c63..0e7eeb2820e2 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -458,6 +458,7 @@ static int option_tiocmset(struct usb_serial_port *port, struct file *file,
portdata = usb_get_serial_port_data(port);
+ /* FIXME: what locks portdata fields ? */
if (set & TIOCM_RTS)
portdata->rts_state = 1;
if (set & TIOCM_DTR)