[PATCH 1/6] soundwire: qcom: add support to missing transport params
Srinivas Kandagatla
srinivas.kandagatla at linaro.org
Mon Feb 1 16:50:22 CET 2021
On 01/02/2021 14:13, Vinod Koul wrote:
>> +
>> + ret = of_property_read_u8_array(np, "qcom,ports-hstop", hstop, nports);
>> + if (ret)
>> + memset(hstop, SWR_INVALID_PARAM, QCOM_SDW_MAX_PORTS);
> why not memset the whole area here and then populate it..?
That is other way to do it!, I can do that in next spin!
--srini
>> +
>> + ret = of_property_read_u8_array(np, "qcom,ports-word-length",
>> + word_length, nports);
More information about the Alsa-devel
mailing list