commit | 3b2a117aff6d5fac7c57a1ff4406a9e60295045b | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Mon Jan 13 11:35:03 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Apr 16 23:06:54 2020 -0400 |
tree | f08ff1284d19e53a4d7b7fb4e9393135ce0faa06 | |
parent | 4c2c96f40d43fb1008c9697ebf506a8f110e586a [diff] |
gpio: add function _dm_gpio_set_dir_flags Introduce the function _dm_gpio_set_dir_flags to set dir flags without check if the GPIO is reserved. Separate the reserved check for "set_dir" and "set_dir_flags". This patch is a preliminary step to add new ops. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>