[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c52aaad5-513a-8dee-bc5b-3bb5a4ffe18b@linaro.org>
Date: Mon, 1 Feb 2021 15:50:22 +0000
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: Vinod Koul <vkoul@...nel.org>
Cc: yung-chuan.liao@...ux.intel.com,
pierre-louis.bossart@...ux.intel.com, sanyog.r.kale@...el.com,
linux-kernel@...r.kernel.org, alsa-devel@...a-project.org
Subject: Re: [PATCH 1/6] soundwire: qcom: add support to missing transport
params
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);
Powered by blists - more mailing lists