Charles Keepax 244e293690
ASoC: pcm: Tidy up open/hw_params handling
Currently, the core will continue processing open/hw_params
component callbacks after one has failed even though it will abort
immediately afterwards. This is unnecessary and also has the issue
that close/hw_free will be called on the component which failed
open/hw_params which could result in issues if the driver doesn't
expect this behaviour.

Update the core to abort processing open/hw_params when an error
is hit and only call close/hw_free for those components that were
successfully opened.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-06-19 16:24:16 +01:00
..
2018-06-05 16:51:55 +02:00
2018-06-18 12:55:16 +01:00
2018-06-18 12:54:38 +01:00
2018-01-10 16:42:10 +00:00
2018-05-17 15:46:22 +09:00
2018-03-14 09:35:29 -07:00
2018-05-09 18:38:23 +09:00
2018-06-12 16:19:22 -07:00
2018-05-09 18:39:07 +09:00
2018-05-09 18:39:07 +09:00