diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-01-11 20:34:44 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-01-18 12:31:36 +0100 |
commit | 3cbcb2892809b59d59bf62cb8e49705227ee382a (patch) | |
tree | 6cbd5b6251de32efa762d33b20115188f1a986c3 /drivers/net/fm/t4240.c | |
parent | 8bb6c1d1e0ac3692df1b83eaeee42541c09e09fc (diff) | |
download | u-boot-imx-3cbcb2892809b59d59bf62cb8e49705227ee382a.zip u-boot-imx-3cbcb2892809b59d59bf62cb8e49705227ee382a.tar.gz u-boot-imx-3cbcb2892809b59d59bf62cb8e49705227ee382a.tar.bz2 |
usb: Fix usb_kbd_deregister when console-muxing is used
When iomuxing is used we must not only deregister the device with stdio.c,
but also remove the reference to the device in the console_devices array
used by console-muxing. Add a call to iomux_doenv to usb_kbd_deregister to
update console_devices, which will drop the reference.
This fixes the console filling with "Failed to enqueue URB to controller"
messages after a "usb stop force", or when the USB keyboard is gone after a
"usb reset".
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/net/fm/t4240.c')
0 files changed, 0 insertions, 0 deletions