HID: uhid: implement write() on uhid devices
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 10 Jun 2012 13:16:17 +0000 (15:16 +0200)
committerColin Cross <ccross@android.com>
Thu, 16 Aug 2012 19:44:28 +0000 (12:44 -0700)
commitd3444a842acc1113febe0ebade74fe18aa99dfee
treea1469adb09fdd7e32fdbf3a1b53e49509bef2bae
parentb8dd3d95cafc815793eb7a380be493eb5382710a
HID: uhid: implement write() on uhid devices

Similar to read() you can only write() a single event with one call to an
uhid device. To write multiple events use writev() which is supported by
uhid.

We currently always return -EOPNOTSUPP but other events will be added in
later patches.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/uhid.c