From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 27 Feb 2012 00:10:33 +0100 Subject: [U-Boot] [PATCH] USB: fix USB keyboard polling parameter In-Reply-To: <1326134109-26190-1-git-send-email-vpalatin@chromium.org> References: <1326134109-26190-1-git-send-email-vpalatin@chromium.org> Message-ID: <201202270010.33238.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > When doing a "GET_REPORT" request on the keyboard control endpoint, > the report ID should 0 (ie report ID not used) rather than 1 > as reports are not used in boot mode. > > Signed-off-by: Vincent Palatin > --- > common/usb_kbd.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/common/usb_kbd.c b/common/usb_kbd.c > index 75107c9..aaf7d6f 100644 > --- a/common/usb_kbd.c > +++ b/common/usb_kbd.c > @@ -320,7 +320,7 @@ static inline void usb_kbd_poll_for_event(struct > usb_device *dev) struct usb_kbd_pdata *data = dev->privptr; > iface = &dev->config.if_desc[0]; > usb_get_report(dev, iface->desc.bInterfaceNumber, > - 1, 1, data->new, sizeof(data->new)); > + 1, 0, data->new, sizeof(data->new)); > if (memcmp(data->old, data->new, sizeof(data->new))) > usb_kbd_irq_worker(dev); > #endif Hi, what's the status of this patch/patchset? Thanks M