ASoC: Intel: initial stream_hw_id to invalid value
authorJie Yang <yang.jie@intel.com>
Mon, 12 Jan 2015 09:17:34 +0000 (17:17 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 14 Jan 2015 20:22:35 +0000 (20:22 +0000)
commita0a7c48fe1a6dc6cae7c589640443bbaaddc28b3
tree49d9ac58f1d7a99eca98e3bea7192e518e4fc9ae
parent7ff9d6714a5c97fb448c53aae801af3d529ecb56
ASoC: Intel: initial stream_hw_id to invalid value

The stream_hw_id for System stream is 0x0, if we use initial stream_hw_id
value 0, it may return wrong(not committed) stream when calling function
get_stream_by_id() with stream_id=0. Here initial stream_hw_id to invalid
value to fix this issue.

Signed-off-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/sst-haswell-ipc.c