Re: [RFC PATCH 23/40] soundwire: stream: fix disable sequence

2019-08-05 Thread Sanyog Kale
On Thu, Jul 25, 2019 at 06:40:15PM -0500, Pierre-Louis Bossart wrote: > When we disable the stream and then call hw_free, two bank switches > will be handled and as a result we re-enable the stream on hw_free. > I didnt quite get why there will be two bank switches as part of disable flow which le

Re: [RFC PATCH 23/40] soundwire: stream: fix disable sequence

2019-07-26 Thread Cezary Rojewski
On 2019-07-26 01:40, Pierre-Louis Bossart wrote: - return do_bank_switch(stream); + ret = do_bank_switch(stream); + if (ret < 0) { + dev_err(bus->dev, "Bank switch failed: %d\n", ret); + return ret; + } + + /* make sure alternate bank (previo