diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2022-09-04 12:28:39 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-05 14:51:46 +0100 |
commit | f0b933236ec97de5ee49c60aae57a9c5c4dadc87 (patch) | |
tree | 1f3e94f35580aa828fc576a32f5c075968c79b97 /sound/soc/sof/sof-client-probes.c | |
parent | 376be51caf8871419bbcbb755e1e615d30dc3153 (diff) | |
download | linux-stable-f0b933236ec97de5ee49c60aae57a9c5c4dadc87.tar.gz linux-stable-f0b933236ec97de5ee49c60aae57a9c5c4dadc87.tar.bz2 linux-stable-f0b933236ec97de5ee49c60aae57a9c5c4dadc87.zip |
lib/string_helpers: Introduce parse_int_array_user()
Add new helper function to allow for splitting specified user string
into a sequence of integers. Internally it makes use of get_options() so
the returned sequence contains the integers extracted plus an additional
element that begins the sequence and specifies the integers count.
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220904102840.862395-2-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-client-probes.c')
0 files changed, 0 insertions, 0 deletions