Skip to content
Commit 788ea834 authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Tom Rini
Browse files

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: default avatarPatrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 8a9140cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment