• Frank Seidel's avatar
    USB: kobil_sct: trivial backport to fix libct · 9c560a68
    Frank Seidel authored
    Backport of a patch by Alan Cox <alan@lxorguk.ukuu.org.uk> in the kernel tree
    with commit 94d0f7ea
    
    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: default avatarFrank Seidel <fseidel@suse.de>
    Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    
    9c560a68
kobil_sct.c 20.8 KB