9 Mar
2023
9 Mar
'23
12:32 p.m.
On 09.03.23 00:57, Wesley Cheng wrote:
+/*
- in case the platform driver was not ready at the time of USB SND
- device connect, expose an API to discover all connected USB devices
- so it can populate any dependent resources/structures.
- */
+void snd_usb_rediscover_devices(void) +{
- int i;
- mutex_lock(®ister_mutex);
- for (i = 0; i < SNDRV_CARDS; i++) {
if (usb_chip[i])
if (platform_ops && platform_ops->connect_cb)
Really check this every time?
Regards Oliver