Re: [PATCH] usb: kbd: allow probing even if usbkbd not in stdin

2022-06-27 Thread Köry Maincent
On Mon, 27 Jun 2022 13:39:03 +0200 Marek Vasut wrote: > >> Can you document the usecase in a bit more detail ? > > > > My usecase is to get a key press from the USB keyboard and do some thing > > about it in board_init. I do not want to multiplex the keyboard input to > > stdin but I still

Re: [PATCH] usb: kbd: allow probing even if usbkbd not in stdin

2022-06-27 Thread Marek Vasut
On 6/27/22 12:03, Köry Maincent wrote: Hello Marek, On Fri, 24 Jun 2022 20:12:31 +0200 Marek Vasut wrote: On 6/22/22 10:59, kory.mainc...@bootlin.com wrote: From: Kory Maincent For now the driver does not probe if usbkbd was not present in stdin. This presents two issues, we can not probe

Re: [PATCH] usb: kbd: allow probing even if usbkbd not in stdin

2022-06-27 Thread Köry Maincent
Hello Marek, On Fri, 24 Jun 2022 20:12:31 +0200 Marek Vasut wrote: > On 6/22/22 10:59, kory.mainc...@bootlin.com wrote: > > From: Kory Maincent > > > > For now the driver does not probe if usbkbd was not present in stdin. > > This presents two issues, we can not probe the driver before

Re: [PATCH] usb: kbd: allow probing even if usbkbd not in stdin

2022-06-24 Thread Marek Vasut
On 6/22/22 10:59, kory.mainc...@bootlin.com wrote: From: Kory Maincent For now the driver does not probe if usbkbd was not present in stdin. This presents two issues, we can not probe the driver before setting stdin Environment should be up and running before USB, so this is likely not a

[PATCH] usb: kbd: allow probing even if usbkbd not in stdin

2022-06-22 Thread kory . maincent
From: Kory Maincent For now the driver does not probe if usbkbd was not present in stdin. This presents two issues, we can not probe the driver before setting stdin and we can not use this driver in other manner than stdin console. This patch fixes this by adding an else statement. It simply