
4 Aug
2017
4 Aug
'17
5:50 a.m.
On Fri, Aug 4, 2017 at 3:22 AM, Rob Clark robdclark@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@gmail.com
common/usb_kbd.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
Reviewed-by: Bin Meng bmeng.cn@gmail.com