Re: [linux-usb-devel] [PATCH] iuu_phoenix new driver proposal 2 fixed

2007-07-19 Thread Oliver Neukum
Am Donnerstag 19 Juli 2007 schrieb [EMAIL PROTECTED]: > OOps ;-) > > 2 missing characters... > > Now it compile without warning or error > + /* shutdown our urbs */ + dbg("%s - shutting down urbs", __FUNCTION__); + result = usb_unlink_urb(port->write_ur

Re: [linux-usb-devel] [PATCH] iuu_phoenix new driver proposal 2 fixed

2007-07-19 Thread eczema
 : Re: [linux-usb-devel] [PATCH] iuu_phoenix new driver proposal 2 Am Mittwoch 18 Juli 2007 schrieb Alain Degreffe: +static int iuu_tiocmget(struct usb_serial_port *port, struct file *file) +{ + u8 *st; + int status ; + st = kmalloc(sizeof(u8), GFP_KERNEL); + if

Re: [linux-usb-devel] [PATCH] iuu_phoenix new driver proposal 2

2007-07-18 Thread Oliver Neukum
Am Mittwoch 18 Juli 2007 schrieb Alain Degreffe: +static int iuu_tiocmget(struct usb_serial_port *port, struct file *file) +{ + u8 *st; + int status ; + st = kmalloc(sizeof(u8), GFP_KERNEL); + if (!st) + return -ENOMEM ; + iuu_status(port, st); + +

[linux-usb-devel] [PATCH] iuu_phoenix new driver proposal 2

2007-07-18 Thread Alain Degreffe
I follow you comments... Am Mittwoch 18 Juli 2007 schrieb eczema: > + if ((set == 0) && priv->TIOSTATUS == TIOCM_RTS) { > + dbg("%s TIOCMSET RESET called !!!", __FUNCTION__); > + priv->TIOSTATUS = 0; > + if (iuu_reset(port, 0x0C)) > +