diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-01-11 19:34:44 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-01-18 11:31:36 (GMT) |
commit | 3cbcb2892809b59d59bf62cb8e49705227ee382a (patch) | |
tree | 6cbd5b6251de32efa762d33b20115188f1a986c3 /common/env_ubi.c | |
parent | 8bb6c1d1e0ac3692df1b83eaeee42541c09e09fc (diff) | |
download | u-boot-fsl-qoriq-3cbcb2892809b59d59bf62cb8e49705227ee382a.tar.xz |
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 'common/env_ubi.c')
0 files changed, 0 insertions, 0 deletions