Re: [RFC PATCH 04/14] sound: usb: card: Introduce USB SND vendor op callbacks

From: Oliver Neukum
Date: Thu Dec 29 2022 - 08:49:37 EST




On 24.12.22 00:31, Wesley Cheng wrote:
Allow for different vendors to be notified on USB SND connect/disconnect
seqeunces. This allows for vendor USB SND modules to properly initialize
and populate internal structures with references to the USB SND chip
device.

Hi,

this raises a design question. If the system is suspending or, worse,
hibernating, how do you make sure the offloader and the device are
suspended in the correct order?
And what happens if you need to go into reset_resume() when resuming?

Regards
Oliver