]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: kbd: Allow "usb reset" to continue when an usb kbd is used
authorHans de Goede <hdegoede@redhat.com>
Sat, 20 Sep 2014 14:54:38 +0000 (16:54 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 6 Oct 2014 12:50:43 +0000 (14:50 +0200)
commit8a8a2257ec55a997d97edf6664249a628248fe01
tree703e51bac2512fe3bf2d171acf51444010fac5f3
parent32d019265d1f0c334f2f86407abf295d46bd2f4d
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>
common/cmd_usb.c
common/usb_kbd.c
include/usb.h