Add polling mode support on snd_hdac_bus_get_response(),

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Takashi,

We would like to add polling mode support on snd_hdac_bus_get_response(),
and use it as a workaround for some specific platforms.
Just like azx_rirb_get_response() and azx_create()

	if (chip->polling_mode || do_poll)
			snd_hdac_bus_update_rirb(bus);
and
	if (IS_CFL(pci))
		chip->polling_mode = 1;

However struct azx is a local variable and other driver may have their own chip
structure. Like struct skl and struct sof_intel_hda_dev.
So I am thinking does it make sense to add the polling_mode in struct
hdac_bus? So we can get the polling_mode directly from bus->polling_mode.
Or it makes more sense to create a global chip struct similar to struct azx for
snd_hdac_bus_get_response()?

Thanks,
Bard
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux