[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c91d6e9d-7ad9-64e2-6ed1-3c0be0b6833d@linux.intel.com>
Date: Fri, 26 Jul 2019 09:11:03 -0500
From: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
To: Guennadi Liakhovetski <guennadi.liakhovetski@...ux.intel.com>
Cc: alsa-devel@...a-project.org, tiwai@...e.de,
gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
vkoul@...nel.org, broonie@...nel.org,
srinivas.kandagatla@...aro.org, jank@...ence.com,
slawomir.blauciak@...el.com, Sanyog Kale <sanyog.r.kale@...el.com>
Subject: Re: [alsa-devel] [RFC PATCH 16/40] soundwire: cadence_master: improve
startup sequence with link hw_reset
>> +static int do_reset(struct sdw_cdns *cdns)
>> +{
>> + int ret;
>> +
>> + /* program maximum length reset to be safe */
>> + cdns_updatel(cdns, CDNS_MCP_CONTROL,
>> + CDNS_MCP_CONTROL_RST_DELAY,
>> + CDNS_MCP_CONTROL_RST_DELAY);
>> +
>> + /* use hardware generated reset */
>> + cdns_updatel(cdns, CDNS_MCP_CONTROL,
>> + CDNS_MCP_CONTROL_HW_RST,
>> + CDNS_MCP_CONTROL_HW_RST);
>> +
>> + /* enable bus operations with clock and data */
>> + cdns_updatel(cdns, CDNS_MCP_CONFIG,
>> + CDNS_MCP_CONFIG_OP,
>> + CDNS_MCP_CONFIG_OP_NORMAL);
>> +
>> + /* commit changes */
>> + ret = cdns_update_config(cdns);
>> +
>> + return ret;
>
> + return cdns_update_config(cdns);
>
> and remove the "ret" variable.
Yes, it's the same issue as previously reported. will fix.
Powered by blists - more mailing lists