lkml.org 
[lkml]   [2023]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[PATCH v1 0/2] Add support for array and optional APIs
From
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

\
 
 \ /
  Last update: 2023-08-24 14:18    [W:0.041 / U:1.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site