commit | cc42c6b370f5bcc0260f43d28848045fb0af237d | [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 | 11b34d6eade7f71343f331f81a651b3788d0e533 [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>