diff options
| author | 2011-01-18 03:04:37 -0500 | |
|---|---|---|
| committer | 2011-02-11 15:05:49 +0100 | |
| commit | 0f69dca20f77dc374b67e17e10b30cec37e778c4 (patch) | |
| tree | 91af68ffb00e8e0fa70ab636a51abdb6260547a3 /tools/perf/scripts/python | |
| parent | Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 (diff) | |
| download | wireguard-linux-0f69dca20f77dc374b67e17e10b30cec37e778c4.tar.xz wireguard-linux-0f69dca20f77dc374b67e17e10b30cec37e778c4.zip | |
HID: bt: Move hid_add_device() call to after hidp_session() has started.
Move the call to hid_add_device() (which calls a device's probe() function)
to after the kernel_thread() call which starts the hidp_session() thread.
This ensures the Bluetooth receive socket is fully running by the time a
device's probe() function is called. This way, a device can communicate
(send and receive) with the Bluetooth device from its probe() function.
Signed-off-by: Alan Ott <alan@signal11.us>
Acked-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
