struct hda_codec *c;
struct hda_cvt_setup *p;
unsigned int oldval, newval;
- int type;
int i;
if (!nid)
p->dirty = 0;
/* make other inactive cvts with the same stream-tag dirty */
- type = get_wcaps_type(get_wcaps(codec, nid));
list_for_each_entry(c, &codec->bus->codec_list, list) {
for (i = 0; i < c->cvt_setups.used; i++) {
p = snd_array_elem(&c->cvt_setups, i);
- if (!p->active && p->stream_tag == stream_tag &&
- get_wcaps_type(get_wcaps(codec, p->nid)) == type)
+ if (!p->active && p->stream_tag == stream_tag)
p->dirty = 1;
}
}
if (!nid)
return;
- if (codec->no_sticky_stream)
- do_now = 1;
-
snd_printdd("hda_codec_cleanup_stream: NID=0x%x\n", nid);
p = get_hda_cvt_setup(codec, nid);
if (p) {