[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1fef14fe-b254-9282-c213-d23e3b7d5f61@linaro.org>
Date: Mon, 1 Feb 2021 15:50:28 +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 3/6] soundwire: qcom: set continue execution flag for
ignored commands
On 01/02/2021 14:16, Vinod Koul wrote:
>> /* Configure number of retries of a read/write cmd */
>> - ctrl->reg_write(ctrl, SWRM_CMD_FIFO_CFG_ADDR, SWRM_RD_WR_CMD_RETRIES);
>> + if (ctrl->version_major == 1 && ctrl->version_minor >= 5 &&
>> + ctrl->version_step >= 1) {
> why not use raw version value?
>
> if (ctrl->raw > 0x10501 )
>
We can do that way as well, but Major Minor seems much clear to readers!
--srini
Powered by blists - more mailing lists