commit | a88d437ace686fe56571c6fbe92bfeba3d86d01b | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sun Apr 03 09:18:53 2016 +0200 |
committer | Marek Vasut <marex@denx.de> | Sun Apr 10 17:18:42 2016 +0200 |
tree | a72b2511810053681941ed63be213f326f507220 | |
parent | 3e13f39d19c5138137b0688e2103c4884e5e3158 [diff] |
usb: kbd: Do not deregister usbkbd twice when using dm The dm usb_kbd_remove function() will deregister the usb keyboard for us on a "usb reset" / "usb stop" so there is no need to manually call usb_kbd_deregister() in the dm case. This commit removes usb_kbd_deregister() in the dm case fixing the following "usb reset" errors: usb_kbd_remove: warning, ret=-6 device_remove: Device 'usb_kbd' failed to remove, but children are gone Signed-off-by: Hans de Goede <hdegoede@redhat.com>