Searched hist:"5 f246e890502fed387e0f959e2224ea680c03423" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/include/net/bluetooth/ |
H A D | hci.h | diff 5f246e890502fed387e0f959e2224ea680c03423 Mon Jun 11 03:13:07 CDT 2012 Andrei Emeltchenko <andrei.emeltchenko@intel.com> Bluetooth: Update HCI timeouts constants to use msecs_to_jiffies
The HCI constants are always used in form of jiffies. So just include the conversion from msecs in the define itself. This has the advantage of making the code where the timeout is used more readable and avoiding unnecessary conversions.
The patch is similar to commit ba13ccd9 doing the same job for L2CAP
Reported-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
|
H A D | hci_core.h | diff 5f246e890502fed387e0f959e2224ea680c03423 Mon Jun 11 03:13:07 CDT 2012 Andrei Emeltchenko <andrei.emeltchenko@intel.com> Bluetooth: Update HCI timeouts constants to use msecs_to_jiffies
The HCI constants are always used in form of jiffies. So just include the conversion from msecs in the define itself. This has the advantage of making the code where the timeout is used more readable and avoiding unnecessary conversions.
The patch is similar to commit ba13ccd9 doing the same job for L2CAP
Reported-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
|
/openbmc/linux/net/bluetooth/ |
H A D | hci_core.c | diff 5f246e890502fed387e0f959e2224ea680c03423 Mon Jun 11 03:13:07 CDT 2012 Andrei Emeltchenko <andrei.emeltchenko@intel.com> Bluetooth: Update HCI timeouts constants to use msecs_to_jiffies
The HCI constants are always used in form of jiffies. So just include the conversion from msecs in the define itself. This has the advantage of making the code where the timeout is used more readable and avoiding unnecessary conversions.
The patch is similar to commit ba13ccd9 doing the same job for L2CAP
Reported-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
|