-
由 Lu Guanqun 提交于
initialize ret to invalid value so that when we reach the config error path in soc_pcm_open, it will return the correct error code. without this patch, though config error path is executed, soc_pcm_open will return 0 in snd_pcm_open_substream and then cause double release of substream. Signed-off-by: NLu Guanqun <guanqun.lu@intel.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
c51def65