Re: [PATCH] HID: New hid-cp2112 driver.

2013-09-05 Thread Oliver Neukum
On Wed, 2013-08-21 at 15:11 -0500, David Barksdale wrote: From: David Barksdale dbarksd...@uplogix.com +static int cp2112_wait(struct cp2112_device *dev, atomic_t *avail) +{ + int ret = 0; + + ret = wait_event_interruptible_timeout(dev-wait, + atomic_read(avail),

[PATCH] HID: New hid-cp2112 driver.

2013-08-22 Thread David Barksdale
This patch adds support for the Silicon Labs CP2112 Single-Chip HID USB to SMBus Master Bridge. I wrote this to support a USB temperature and humidity sensor I've been working on. It's been tested by using SMBus byte-read, byte-data-read/write, and word-data-read transfer modes to talk to an I2C

[PATCH] HID: New hid-cp2112 driver.

2013-08-21 Thread David Barksdale
I sent this to Jiri Kosina and linux-kernel a week ago and haven't gotten any attention. Maybe linux-usb can tell me if this driver is any good. From: David Barksdale dbarksd...@uplogix.com This patch adds support for the Silicon Labs CP2112 Single-Chip HID USB to SMBus Master Bridge. I wrote

Re: [PATCH] HID: New hid-cp2112 driver.

2013-08-21 Thread Greg KH
On Wed, Aug 21, 2013 at 02:52:31PM -0500, David Barksdale wrote: I sent this to Jiri Kosina and linux-kernel a week ago and haven't gotten any attention. Maybe linux-usb can tell me if this driver is any good. Did you run it through the scripts/checkpatch.pl tool? It looks like your spaces

[PATCH] HID: New hid-cp2112 driver.

2013-08-21 Thread David Barksdale
From: David Barksdale dbarksd...@uplogix.com This patch adds support for the Silicon Labs CP2112 Single-Chip HID USB to SMBus Master Bridge. I wrote this to support a USB temperature and humidity sensor I've been working on. It's been tested by using SMBus byte-read, byte-data-read/write, and

Re: [PATCH] HID: New hid-cp2112 driver.

2013-08-21 Thread Greg KH
On Wed, Aug 21, 2013 at 03:11:12PM -0500, David Barksdale wrote: From: David Barksdale dbarksd...@uplogix.com This patch adds support for the Silicon Labs CP2112 Single-Chip HID USB to SMBus Master Bridge. I wrote this to support a USB temperature and humidity sensor I've been working on.