commit | 9afdf4021abf3d2c21f525ed690adfa17bbe2b49 | [log] [tgz] |
---|---|---|
author | Mateusz Kulikowski <mateusz.kulikowski@gmail.com> | Sat Jan 23 11:54:29 2016 +0100 |
committer | Tom Rini <trini@konsulko.com> | Mon Jan 25 10:39:47 2016 -0500 |
tree | 1adfcabd70bfe4e1f331d57a2ccfe3acfb3ca3df | |
parent | 3da52409250a48423a9297a7afbf1f09d0a855fe [diff] |
lib: Add wait_for_bit 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>