From: Johan Hedberg Date: Fri, 30 Jan 2015 08:58:55 +0000 (+0200) Subject: Bluetooth: btusb: Use wait_on_bit_timeout() for BTUSB_BOOTING X-Git-Tag: fixes-v4.0-rc1~150^2~73^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fad7097228496c2ce0c6bef2fec87f8b74d5f6dd;p=pandora-kernel.git Bluetooth: btusb: Use wait_on_bit_timeout() for BTUSB_BOOTING The wait_on_bit_timeout() is a simpler and race-free way of waiting for a bit to be cleared than the current code in btusb.c. This patch updates the code to use the helper function (its btusb copy - to be later updated to use a global one). Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed