From: Mark Brown Date: Mon, 5 Sep 2022 15:49:32 +0000 (+0100) Subject: lib/string_helpers: Introduce parse_int_array_user() X-Git-Url: https://repo.jachan.dev/J-linux.git/commitdiff_plain/d2a411f810a0db055f02cc18e5cfa833bb2c9ccc lib/string_helpers: Introduce parse_int_array_user() Merge series from Cezary Rojewski : Continuation of recent upstream discussion [1] regarding user string tokenization. First, parse_int_array_user() is introduced to allow for splitting specified user string into a sequence of integers. Makes use of get_options() internally so the parsing logic is not duplicated. With that done, redundant parts of the sound driver are removed. Originally similar functionality was added for the SOF sound driver. As more users are on the horizon, it is desirable to update existing string_helpers code and provide a unified solution. --- d2a411f810a0db055f02cc18e5cfa833bb2c9ccc