summaryrefslogtreecommitdiff
path: root/include/wait_bit.h
AgeCommit message (Collapse)Author
2016-01-25lib: Add wait_for_bitMateusz Kulikowski
Add function to poll register waiting for specific bit(s). Similar functions are implemented in few drivers - they are almost identical and can be generalized. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>