16 Feb
2022
16 Feb
'22
9:38 a.m.
On 2/15/2022 3:01 PM, Kai Vehmanen wrote:
static void silent_stream_disable(struct hda_codec *codec, @@ -1726,7 +1786,16 @@ static void silent_stream_disable(struct hda_codec *codec, { struct hdmi_spec *spec = codec->spec; struct hdmi_spec_per_cvt *per_cvt;
- int cvt_idx;
- int cvt_idx, err;
- err = snd_hda_power_up_pm(codec);
- if (err < 0 && err != -EACCES) {
codec_err(codec,
"Failed to power up codec for silent stream disable ret=[%d]\n",
err);
snd_hda_power_down_pm(codec);
If power up failed, do you need to power down?
return;
}
mutex_lock(&per_pin->lock); if (!per_pin->silent_stream)