[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0553dba8-6a08-93c7-d0d5-4d2ca6a67f56@linux.intel.com>
Date: Fri, 10 Jan 2020 10:24:10 -0600
From: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
To: Vinod Koul <vkoul@...nel.org>
Cc: alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
tiwai@...e.de, broonie@...nel.org, gregkh@...uxfoundation.org,
jank@...ence.com, srinivas.kandagatla@...aro.org,
slawomir.blauciak@...el.com,
Bard liao <yung-chuan.liao@...ux.intel.com>,
Rander Wang <rander.wang@...ux.intel.com>,
Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>,
Rander Wang <rander.wang@...el.com>,
Sanyog Kale <sanyog.r.kale@...el.com>
Subject: Re: [alsa-devel] [PATCH 6/6] soundwire: stream: don't program ports
for a stream that has not been prepared
>> GitHub issue: https://github.com/thesofproject/linux/issues/1637
>
> This is not relevant for kernel, pls remove
Why? it's not uncommon to have bugzilla links, why would we lose the
publicly-available information because GitHub is used?
>> list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) {
>> +
>> + /*
>> + * this loop walks through all master runtimes for a
>> + * bus, but the ports can only be configured while
>> + * explicitly preparing a stream or handling an
>> + * already-prepared stream otherwise.
>
> we can go upto 80 chars, make sure you align the above comment block as
> such
this is formatted by emacs, and with long words you get spaces at the end.
>> /* Program params */
>> - ret = sdw_program_params(bus);
>> + ret = sdw_program_params(bus, false);
>
> Can you do a converse test as well, when the streams are running and
> concurrently two stream are stopped, it would be good to get it confirmed...
we cannot concurrently stop two streams since we take a bus lock. That's
a problem but it'll have to be addressed separately. the problem with
multiple streams addressed here is when one is CONFIGURED, which does
not require a bus lock.
Powered by blists - more mailing lists