All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] usb: kbd: Do not deregister usbkbd twice when using dm
Date: Sun, 03 Apr 2016 19:15:33 +0200	[thread overview]
Message-ID: <57014FB5.7090104@denx.de> (raw)
In-Reply-To: <1459667933-2702-1-git-send-email-hdegoede@redhat.com>

On 04/03/2016 09:18 AM, Hans de Goede wrote:
> 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>

Applied, thanks.

Best regards,
Marek Vasut

      reply	other threads:[~2016-04-03 17:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-03  7:18 [U-Boot] [PATCH] usb: kbd: Do not deregister usbkbd twice when using dm Hans de Goede
2016-04-03 17:15 ` Marek Vasut [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57014FB5.7090104@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.