On Mon, May 09, 2016 at 10:10:53AM +0200, Takashi Iwai wrote: > > You need to check whether there is any link, not the number of links, > right? Then it'd be like: Yes thinking it from other way, I do agree with this. Will change it > > link_up = false; > list_for_each_entry(hlink, &ebus->hlink_list, list) { > if (hlink->ref_count) { > link_up = true; > break; > } > } > > if (!link_up) { > cmd_io_off(); > } > > -- ~Vinod _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel