Messages in this thread | | | Date | Thu, 24 Aug 2023 12:17:48 +0000 | Subject | [PATCH v1 0/2] Add support for array and optional APIs | From | Aniket <> |
| |
These patches introduces APIs for managing multiple mux-states using an array. Since for mux-control the state is not defined in DT and needs to passed when selecting in driver, array like wrapper is not possible. Also provide optional APIs which returns NULL instead of error when DT property is not present in client drivers. Ensure that select/deselect operations pass for such cases.
Aniket (2): mux: Add support for handling array of mux-state mux: Introduce optional variant of consumer APIs
drivers/mux/core.c | 185 +++++++++++++++++++++++++++++++++-- include/linux/mux/consumer.h | 29 ++++++ 2 files changed, 208 insertions(+), 6 deletions(-)
-- 2.42.0.rc1.204.g551eb34607-goog
| |