usb: kbd: Allow "usb reset" to continue when an usb kbd is used
Use the new force parameter to make the stdio_deregister succeed, replacing stdin with a nulldev, and assume that the usb keyboard will come back after the reset. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
committed by
Marek Vasut
parent
32d019265d
commit
8a8a2257ec
@@ -216,7 +216,7 @@ int usb_host_eth_scan(int mode);
|
||||
#ifdef CONFIG_USB_KEYBOARD
|
||||
|
||||
int drv_usb_kbd_init(void);
|
||||
int usb_kbd_deregister(void);
|
||||
int usb_kbd_deregister(int force);
|
||||
|
||||
#endif
|
||||
/* routines */
|
||||
|
||||
Reference in New Issue
Block a user