[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1422616476-2917-1-git-send-email-johan.hedberg@gmail.com>
Date: Fri, 30 Jan 2015 13:14:35 +0200
From: Johan Hedberg <johan.hedberg@...il.com>
To: linux-kernel@...r.kernel.org
Cc: peterz@...radead.org, mingo@...hat.com, davem@...emloft.net,
linux-bluetooth@...r.kernel.org
Subject: sched/wait: Introduce a wait_on_bit_timeout() helper function
Hi,
We'd need this helper function for the btusb driver for waiting for
certain firmware loading stages which are indicated through a bit-field.
For now we made a local copy in btusb [1] with the intention to switch to
this global version as soon as it makes it upstream. If it's ok we can
also take the patch through the bluetooth-next tree and get it from
there upstream.
Johan
[1] http://marc.info/?l=linux-bluetooth&m=142260834526228&w=2
----------------------------------------------------------------
Johan Hedberg (1):
sched/wait: Introduce wait_on_bit_timeout()
include/linux/wait.h | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists