]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: kobil_sct: trivial backport to fix libct
authorFrank Seidel <fseidel@suse.de>
Fri, 9 Nov 2007 18:44:40 +0000 (19:44 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Nov 2007 17:25:55 +0000 (09:25 -0800)
commit9c560a68b8e6bbec2608cc4dac0b5c8028e0c255
tree46b5155ac74ef67140952a2637917a3674fd9342
parentdd2ee9fbafad8ec8b5f5c0b325d149c168b42155
USB: kobil_sct: trivial backport to fix libct

Backport of a patch by Alan Cox <alan@lxorguk.ukuu.org.uk> in the kernel tree
with commit 94d0f7eac77a84da2cee41b8038796891f75f09e

Original comments:
USB: kobil_sct: Rework driver

No hardware but this driver is currently totally broken so we can't make
it much worse. Remove all tbe broken invalid termios handling and replace
it with a proper set_termios method.

Frank's comments:
Without this patch the userspace libct (to access the cardreader)
segfaults.

Signed-off-by: Frank Seidel <fseidel@suse.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/kobil_sct.c