ASoC: hdmi-codec: stream is already locked in hw_params
[sfrench/cifs-2.6.git] / sound / soc / codecs / hdmi-codec.c
index b9d9dde9fbaf4dccf0782f78e426f9953833c43c..ef6d6959ecc591de7b4a24b15d1c51bfb596c244 100644 (file)
@@ -492,10 +492,6 @@ static int hdmi_codec_hw_params(struct snd_pcm_substream *substream,
                return ret;
        }
 
-       ret = hdmi_codec_new_stream(substream, dai);
-       if (ret)
-               return ret;
-
        hdmi_audio_infoframe_init(&hp.cea);
        hp.cea.channels = params_channels(params);
        hp.cea.coding_type = HDMI_AUDIO_CODING_TYPE_STREAM;