ASoC: hdmi-codec: stream is already locked in hw_params
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 29 Apr 2019 13:29:40 +0000 (15:29 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 3 May 2019 05:54:43 +0000 (14:54 +0900)
commit726fc60babe4a46e946e69a9dbd3e21aaec4d58e
tree28426fdf27b2a4056e04865ce0a964ae638bc700
parentc437ba0300cec1ca8758fdd71a3b2f8cd02c6e2a
ASoC: hdmi-codec: stream is already locked in hw_params

startup() should have run before hw_params() is called, so the
current_substream pointer should already be properly set. There
is no reason to call hdmi_codec_new_stream() again in the
hw_params() callback

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdmi-codec.c