Re: [PATCH 1/1] Bluetooth: hidp: Add support for hidraw HIDIOCGFEATURE and HIDIOCSFEATURE

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Marcel Holtmann
Date: Thursday, July 22, 2010 - 8:21 am

Hi Jiri,


that the ioctl() API is synchronous is fine to me, however pushing that
down to the transport drivers seems wrong to me. I think the HID core
should be able to handle a fully asynchronous transport driver. I know
that with the USB subsystem you are little bit spoiled here, but for
Bluetooth it is not the case. And in the end even using the asynchronous
USB URB calls would be nice as well.

So why not make the core actually wait for responses from the transport
driver. I would make the transport drivers a lot simpler in the long
run. And I know that most likely besides Bluetooth and USB you won't see
another, but you never know.

Regards

Marcel


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/1] Bluetooth: hidp: Add support for hidraw H ..., Andrei Emeltchenko, (Tue Jun 29, 5:40 am)
Re: [PATCH 1/1] Bluetooth: hidp: Add support for hidraw ..., Marcel Holtmann, (Fri Jul 9, 10:33 am)
Re: [PATCH 1/1] Bluetooth: hidp: Add support for hidraw ..., Marcel Holtmann, (Thu Jul 22, 8:21 am)
Re: [PATCH 1/1] Bluetooth: hidp: Add support for hidraw ..., Marcel Holtmann, (Tue Aug 10, 5:12 am)