[U-Boot] [PATCH] usb: kbd: don't fail with iomux

Bin Meng bmeng.cn at gmail.com
Fri Aug 4 03:50:02 UTC 2017


On Fri, Aug 4, 2017 at 3:22 AM, Rob Clark <robdclark at gmail.com> wrote:
> stdin might not be set, which would cause iomux_doenv() to fail
> therefore causing probe_usb_keyboard() to fail.  Furthermore if we do
> have iomux enabled, the sensible thing (in terms of user experience)
> would be to simply add ourselves to the list of stdin devices.
>
> This fixes an issue with usbkbd on dragonboard410c with distro-
> bootcmd, where stdin is not set (so stdinname is null).
>
> Signed-off-by: Rob Clark <robdclark at gmail.com>
> ---
>  common/usb_kbd.c | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list