Re: [alsa-devel] [PATCH v2 5/5] soundwire: intel: free all resources on hw_free()

From: Pierre-Louis Bossart
Date: Thu Feb 13 2020 - 10:05:43 EST



+ ret = intel_free_stream(sdw, substream, dai, sdw->instance);
+ if (ret < 0) {
+ dev_err(dai->dev, "intel_free_stream: failed %d", ret);
+ return ret;
+ }
+
+ sdw_release_stream(dma->stream);

I think, free the 'name' here would be apt

Right, this is something we discussed with Rander shortly before Chinese New
Year and we wanted to handle this with a follow-up patch, would that work
for you? if not I can send a v3, your choice.

It would be better if we fix this up in this series :)

ok, I will fix this later today.